- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 617 for peak (0.05 sec)
-
releasenotes/notes/pq-memory-leak.yaml
John Howard <******@****.***> 1631558984 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 13 18:49:44 UTC 2021 - 168 bytes - Viewed (0) -
pkg/queue/delay.go
copy(npq, old) old = npq } if n == 0 { return nil } item := old[n-1] old[n-1] = nil // avoid memory leak *q = old[0 : n-1] return item } // Peek is not managed by the container/heap package, so we return the 0th element in the list. func (q *pq) Peek() any { if q.Len() < 1 { return nil } return (*q)[0] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 06:27:31 UTC 2023 - 6.7K bytes - Viewed (0) -
src/internal/weak/pointer_test.go
} for i := range bt { st := wt[i].Strong() if st != bt[i] { t.Fatalf("weak pointer is not the same as strong pointer: %p vs. %p", st, bt[i]) } if wp := weak.Make(st); wp != wt[i] { t.Fatalf("new weak pointer not equal to existing weak pointer: %v vs. %v", wp, wt[i]) } if i == 0 { continue } if wt[i] == wt[i-1] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/weak/pointer.go
// is reclaimed. // // If multiple weak pointers are made to different offsets within same object // (for example, pointers to different fields of the same struct), those pointers // will not compare equal. // If a weak pointer is created from an object that becomes reachable again due // to a finalizer, that weak pointer will not compare equal with weak pointers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:13:25 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair.go
if err := rebuilt.Allocate(ip); err != nil { // do not increment the metric here, if it is a leak it will be detected once the counter gets to 0 runtime.HandleError(fmt.Errorf("the cluster IP %s may have leaked, but can not be allocated: %v", ip, err)) } default: clusterIPRepairIPErrors.WithLabelValues("leak").Inc() // do not add it to the rebuilt set, which means it will be available for reuse
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
STRONG_ACCESS, STRONG_WRITE, STRONG_ACCESS_WRITE, WEAK, WEAK_ACCESS, WEAK_WRITE, WEAK_ACCESS_WRITE, }; static EntryFactory getFactory( Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) { int flags = ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0) | (usesAccessQueue ? ACCESS_MASK : 0)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
@Throws(EOFException::class) private fun Buffer.readChallengeHeader(result: MutableList<Challenge>) { var peek: String? = null while (true) { // Read a scheme name for this challenge if we don't have one already. if (peek == null) { skipCommasAndWhitespace() peek = readToken() if (peek == null) return } val schemeName = peek // Read a token68, a sequence of parameters, or nothing.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
STRONG_ACCESS, STRONG_WRITE, STRONG_ACCESS_WRITE, WEAK, WEAK_ACCESS, WEAK_WRITE, WEAK_ACCESS_WRITE, }; static EntryFactory getFactory( Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) { int flags = ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0) | (usesAccessQueue ? ACCESS_MASK : 0)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/controller/repair.go
if err := rebuilt.Allocate(port); err != nil { // do not increment the metric here, if it is a leak it will be detected once the counter gets to 0 runtime.HandleError(fmt.Errorf("the node port %d may have leaked, but can not be allocated: %v", port, err)) } default: nodePortRepairPortErrors.WithLabelValues("leak").Inc() // do not add it to the rebuilt set, which means it will be available for reuse
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 10.4K bytes - Viewed (0)