Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for sweet (0.05 sec)

  1. src/internal/concurrent/hashtriemap.go

    		e := n.entry()
    		for e != nil {
    			if !yield(e.key, e.value) {
    				return false
    			}
    			e = e.overflow.Load()
    		}
    	}
    	return true
    }
    
    const (
    	// 16 children. This seems to be the sweet spot for
    	// load performance: any smaller and we lose out on
    	// 50% or more in CPU performance. Any larger and the
    	// returns are minuscule (~1% improvement for 32 children).
    	nChildrenLog2 = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. LICENSE

    WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
    DAMAGE.
    
    com.esotericsoftware.kryo:kryo
    com.esotericsoftware.minlog:minlog
    Copyright (c) 2008-2018, Nathan Sweet All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

             * and increasing the threshold to 2^32 doesn't pay for itself, and adding another enum
             * constant hurts performance further -- I suspect because bimorphic implementation is a
             * sweet spot for the JVM.
             */
            return (a * b) % m;
          }
    
          @Override
          long squareMod(long a, long m) {
            return (a * a) % m;
          }
        },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

             * and increasing the threshold to 2^32 doesn't pay for itself, and adding another enum
             * constant hurts performance further -- I suspect because bimorphic implementation is a
             * sweet spot for the JVM.
             */
            return (a * b) % m;
          }
    
          @Override
          long squareMod(long a, long m) {
            return (a * a) % m;
          }
        },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. src/runtime/mcentral.go

    	// swept set. Likewise, allocating an in-use span pushes it
    	// on the swept set.
    	//
    	// Some parts of the sweeper can sweep arbitrary spans, and hence
    	// can't remove them from the unswept set, but will add the span
    	// to the appropriate swept list. As a result, the parts of the
    	// sweeper and mcentral that do consume from the unswept list may
    	// encounter swept spans, and these should be ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/runtime/mgcsweep.go

    	// no more spans to be swept. In this case, either s has already
    	// been swept, or is about to be acquired for sweeping and swept.
    	sl := sweep.active.begin()
    	if sl.valid {
    		// The caller must be sure that the span is a mSpanInUse span.
    		if s, ok := sl.tryAcquire(s); ok {
    			s.sweep(false)
    			sweep.active.end(sl)
    			return
    		}
    		sweep.active.end(sl)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    	mSyscallID int64
    
    	// maySweep indicates the sweep events should be traced.
    	// This is used to defer the sweep start event until a span
    	// has actually been swept.
    	maySweep bool
    
    	// inSweep indicates that at least one sweep event has been traced.
    	inSweep bool
    
    	// swept and reclaimed track the number of bytes swept and reclaimed
    	// by sweeping in the current sweep loop (while maySweep was true).
    	swept, reclaimed uintptr
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/runtime/mgc.go

    	// to sweep N.
    	//
    	// 2. In sweep N, help with sweep N.
    	//
    	// At this point we can begin a full cycle N+1.
    	//
    	// 3. Trigger cycle N+1 by starting sweep termination N+1.
    	//
    	// 4. Wait for mark termination N+1 to complete.
    	//
    	// 5. Help with sweep N+1 until it's done.
    	//
    	// This all has to be written to deal with the fact that the
    	// GC may move ahead on its own. For example, when we block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  9. src/runtime/mcache.go

    	if size+_PageSize < size {
    		throw("out of memory")
    	}
    	npages := size >> _PageShift
    	if size&_PageMask != 0 {
    		npages++
    	}
    
    	// Deduct credit for this span allocation and sweep if
    	// necessary. mHeap_Alloc will also sweep npages, so this only
    	// pays the debt down to npage pages.
    	deductSweepCredit(npages*_PageSize, npages)
    
    	spc := makeSpanClass(0, noscan)
    	s := mheap_.alloc(npages, spc)
    	if s == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/internal/trace/parser.go

    	EvSTWStart          = 9  // GC mark termination start [timestamp, kind]
    	EvSTWDone           = 10 // GC mark termination done [timestamp]
    	EvGCSweepStart      = 11 // GC sweep start [timestamp, stack id]
    	EvGCSweepDone       = 12 // GC sweep done [timestamp, swept, reclaimed]
    	EvGoCreate          = 13 // goroutine creation [timestamp, new goroutine id, new stack id, stack id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top