Skip to main content

Warren Sheaffer's Library tagged no_tag   View Popular

14 Dec 09

Javanotes 5.1, Chapter 11 -- Files and Networking

Material for our last week of the course online

math.hws.edu/...index.html - Preview

28 Oct 09

Javanotes 5.1, Section 5.1 -- Objects, Instance Methods, and Instance Variables

"std = new Student(); // Create a new object belonging // to the class Student, and // store a reference to that // object in the variable std."

math.hws.edu/s1.html - Preview

  • Object-oriented programming (OOP) represents an
    attempt to make programs more closely model the way people think about and deal
    with the world. In the older styles of programming, a programmer who is faced
    with some problem must identify a computing task that needs to be performed in
    order to solve the problem. Programming then consists of finding a sequence of
    instructions that will accomplish that task. But at the heart of
    object-oriented programming, instead of tasks we find objects -- entities that
    have behaviors, that hold information, and that can interact with one another.
    Programming consists of designing a set of objects that somehow model the
    problem at hand. Software objects in the program can represent real or abstract
    entities in the problem domain. This is supposed to make the design of the
    program more natural and hence easier to get right and easier to
    understand.
  • Objects are closely related to classes. We have already been working with
    classes for several chapters, and we have seen that a class can contain
    variables and subroutines. If an object is also a collection of variables and
    subroutines, how do they differ from classes? And why does it require a
    different type of thinking to understand and use them effectively? In the one
    section where we worked with objects rather than classes,
    Section 3.8, it didn't seem to make much difference: We
    just left the word "static" out of the subroutine definitions!
  • 4 more annotations...

Chapter 3 Developing Phase: Process and Thread Management

    • The following sections discuss the following process management topics that need to be considered for migration:

      • Creating a New Process

      • Replacing a Process Image (exec)

      • Retrieving Process Information

      • Waiting for a Spawned Process

      • Processes vs. Threads

      • Managing Process Resource Limits

      • Limiting File I/O When Using Windows

      • Process Accounting

      • Managing and Scheduling Processes

    • Thread Management

      This section introduces the concept of threads. The following sections discuss the similarities and differences between UNIX and Windows APIs in managing threads:

      • Creating a Thread

      • Canceling a Thread

      • Synchronization of Threads

      • Thread Attributes

      • Thread Scheduling and Prioritizing

      • Managing Multiple Threads

      • I/O Completion Ports

      A thread is an independent path of execution in a process that shares the address space, code, and global data of the process. Time slices are allocated to each thread based on priority. Threads consist of an independent set of registers, stack, I/O handles, and message queue.

NTFS.com FAT32 File System Specifications. Documentation.


    • The following topics describe the FAT32 file system.




       


      File System Specifications



      FAT32 is a derivative of the File Allocation Table (FAT) file system that
      supports drives with over 2GB of storage. Because FAT32 drives can contain more
      than 65,526 clusters, smaller clusters are used than on large FAT16 drives. This
      method results in more efficient space allocation on the FAT32 drive.



      The largest possible file for a FAT32 drive is 4GB minus 2 bytes.



      The FAT32 file system includes four bytes per cluster within the file
      allocation table. Note that the high 4 bits of the 32-bit values in the FAT32 file allocation
      table are reserved and are not part of the cluster number.



       



      previous| contents |
      next


       












      NTFS.com ©1998-2009



      <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
      </script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
      <script type="text/javascript">
      try {var pageTracker = _gat._getTracker("UA-202618-5");pageTracker._trackPageview();} catch(err) {}
      </script>
1 - 20 of 297 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo