Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for sweet (0.61 sec)

  1. docs/changelogs/upgrading_to_okhttp_4.md

    Depending on code in this package is bad and will cause you problems with any upgrade! But the 4.x
    will be particularly painful to naughty developers that import from this package! We changed a lot
    to take advantage of sweet Kotlin features.
    
    #### Credentials.basic()
    
    The username and password parameters to `Credentials.basic()` are now non-null strings. In OkHttp
    3.x, null would yield a username or password of "null".
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  2. 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)
  3. src/strings/replace_test.go

    		testCase{gen1, "XiX", "YiY"},
    		testCase{gen1, "", ""},
    	)
    
    	// gen2 has multiple old strings with no pairwise common prefix.
    	gen2 := NewReplacer(
    		"roses", "red",
    		"violets", "blue",
    		"sugar", "sweet",
    	)
    	testCases = append(testCases,
    		testCase{gen2, "roses are red, violets are blue...", "red are red, blue are blue..."},
    		testCase{gen2, "", ""},
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 22:53:05 UTC 2017
    - 14.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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/runtime/pinner.go

    		// nothing to do, silently ignore it.
    		return false
    	}
    
    	// ensure that the span is swept, b/c sweeping accesses the specials list
    	// w/o locks.
    	mp := acquirem()
    	span.ensureSwept()
    	KeepAlive(ptr) // make sure ptr is still alive after span is swept
    
    	objIndex := span.objIndex(uintptr(ptr))
    
    	lock(&span.speciallock) // guard against concurrent calls of setPinned on same span
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top