Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for slotIDs (1.43 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    }
    
    type partsByVarOffset struct {
    	slotIDs []SlotID
    	slots   []LocalSlot
    }
    
    func (a partsByVarOffset) Len() int { return len(a.slotIDs) }
    func (a partsByVarOffset) Less(i, j int) bool {
    	return varOffset(a.slots[a.slotIDs[i]]) < varOffset(a.slots[a.slotIDs[j]])
    }
    func (a partsByVarOffset) Swap(i, j int) { a.slotIDs[i], a.slotIDs[j] = a.slotIDs[j], a.slotIDs[i] }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/stackalloc.go

    	locations := map[string][]LocalSlot{}
    
    	// Each time we assign a stack slot to a value v, we remember
    	// the slot we used via an index into locations[v.Type].
    	slots := f.Cache.allocIntSlice(f.NumValues())
    	defer f.Cache.freeIntSlice(slots)
    	for i := range slots {
    		slots[i] = -1
    	}
    
    	// Pick a stack slot for each value needing one.
    	used := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(used)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. doc/next/5-toolchain.md

    In Go 1.23, overhead should be in the single digit percentages.
    
    <!-- https://go.dev/issue/62737 , https://golang.org/cl/576681,  https://golang.org/cl/577615 -->
    The compiler in Go 1.23 can now overlap the stack frame slots of local variables
    accessed in disjoint regions of a function, which reduces stack usage
    for Go applications.
    
    <!-- https://go.dev/cl/577935 -->
    For 386 and amd64, the compiler will use information from PGO to align certain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Striped64.java

       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Striped64.java

       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/runtime/mbarrier.go

    // the slot doesn't concurrently change color without the mutator
    // noticing seems prohibitive.
    //
    // Consider the following example where the mutator writes into
    // a slot and then loads the slot's mark bit while the GC thread
    // writes to the slot's mark bit and then as part of scanning reads
    // the slot.
    //
    // Initially both [slot] and [slotmark] are 0 (nil)
    // Mutator thread          GC thread
    // st [slot], ptr          st [slotmark], 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/sync/poolqueue.go

    // multi-consumer queue. The single producer can both push and pop
    // from the head, and consumers can pop from the tail.
    //
    // It has the added feature that it nils out unused slots to avoid
    // unnecessary retention of objects. This is important for sync.Pool,
    // but not typically a property considered in the literature.
    type poolDequeue struct {
    	// headTail packs together a 32-bit head index and a 32-bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
  10. src/runtime/mcentral.go

    	return &c.partial[sweepgen/2%2]
    }
    
    // fullUnswept returns the spanSet which holds unswept spans without any
    // free slots for this sweepgen.
    func (c *mcentral) fullUnswept(sweepgen uint32) *spanSet {
    	return &c.full[1-sweepgen/2%2]
    }
    
    // fullSwept returns the spanSet which holds swept spans without any
    // free slots for this sweepgen.
    func (c *mcentral) fullSwept(sweepgen uint32) *spanSet {
    	return &c.full[sweepgen/2%2]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top