- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 240 for unpacked (0.16 sec)
-
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/CachedConstructorsBenchmark.java
for (int i = 0; i < randomClasses.length; i++) { randomClasses[i] = CLAZZ_ARRAY[RANDOM.nextInt(CLAZZ_ARRAY.length)]; } } private int i; @Benchmark public void uncached(Blackhole bh) { bh.consume(randomClasses[++i % ARR_LEN].getConstructors()); } @Benchmark public void cached(Blackhole bh) { bh.consume(cache.get(randomClasses[++i % ARR_LEN], EMPTY));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/lock_wasip1.go
throw("lock count") } gp.m.locks++ l.key = mutex_locked } func unlock(l *mutex) { unlockWithRank(l) } func unlock2(l *mutex) { if l.key == mutex_unlocked { throw("unlock of unlocked lock") } gp := getg() gp.m.locks-- if gp.m.locks < 0 { throw("lock count") } l.key = mutex_unlocked } // One-time notifications. func noteclear(n *note) { n.key = 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/rwmutex.go
} }) } } // runlock undoes a single rlock call on rw. func (rw *rwmutex) runlock() { if r := rw.readerCount.Add(-1); r < 0 { if r+1 == 0 || r+1 == -rwmutexMaxReaders { throw("runlock of unlocked rwmutex") } // A writer is pending. if rw.readerWait.Add(-1) == 0 { // The last reader unblocks the writer. lock(&rw.rLock) w := rw.writer.ptr() if w != nil { notewakeup(&w.park)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
} fun main() { Security.insertProviderAt(OpenSSLProvider(), 1) var bootstrapClient = OkHttpClient() var names = listOf("google.com", "graph.facebook.com", "sdflkhfsdlkjdf.ee") try { println("uncached\n********\n") var dnsProviders = providers( client = bootstrapClient, http2Only = false, workingOnly = false, getOnly = false, ) runBatch(dnsProviders, names)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/securitycontext/util.go
// ConvertToRuntimeMaskedPaths converts the ProcMountType to the specified or default // masked paths. func ConvertToRuntimeMaskedPaths(opt *v1.ProcMountType) []string { if opt != nil && *opt == v1.UnmaskedProcMount { // Unmasked proc mount should have no paths set as masked. return []string{} } // Otherwise, add the default masked paths to the runtime security context. return defaultMaskedPaths }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 15 07:28:24 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/ExclusiveAccessResourceLockTest.groovy
then: noExceptionThrown() resourceLock.doIsLocked() resourceLock.doIsLockedByCurrentThread() } def "can unlock a resource that is already unlocked"() { when: coordinationService.withStateLock(unlock(resourceLock)) then: noExceptionThrown() !resourceLock.doIsLocked() !resourceLock.doIsLockedByCurrentThread()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
* method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both * time and space. * * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired * surrogates) */ public static int encodedLength(CharSequence sequence) { // Warning to maintainers: this implementation is highly optimized. int utf16Length = sequence.length();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 10 14:11:51 UTC 2023 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
* method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both * time and space. * * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired * surrogates) */ public static int encodedLength(CharSequence sequence) { // Warning to maintainers: this implementation is highly optimized. int utf16Length = sequence.length();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 10 14:11:51 UTC 2023 - 7K bytes - Viewed (0) -
src/syscall/forkpipe2.go
// But we haven't promised that serialization, and it is essentially // undetectable by other users of ForkLock, which is good. // Avoid the serialization by ensuring that ForkLock is locked // at the first fork and unlocked when there are no more forks. func acquireForkLock() { forkingLock.Lock() defer forkingLock.Unlock() if forking == 0 { // There is no current write lock on ForkLock. ForkLock.Lock() forking++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go
}, { name: "masks masked ipv4", expr: `cidr("192.168.0.0/24").masked()`, expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)}, }, { name: "masks unmasked ipv4", expr: `cidr("192.168.0.1/24").masked()`, expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)}, }, { name: "returns prefix length ipv4",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:09 UTC 2023 - 8.3K bytes - Viewed (0)