- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for nextFast (0.26 sec)
-
src/runtime/mbitmap.go
} // nextFast is the fast path of next. nextFast is written to be inlineable and, // as the name implies, fast. // // Callers that are performance-critical should iterate using the following // pattern: // // for { // var addr uintptr // if tp, addr = tp.nextFast(); addr == 0 { // if tp, addr = tp.next(limit); addr == 0 { // break // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
"cgoInRange", "gclinkptr.ptr", "guintptr.ptr", "heapBitsSlice", "markBits.isMarked", "muintptr.ptr", "puintptr.ptr", "spanOf", "spanOfUnchecked", "typePointers.nextFast", "(*gcWork).putFast", "(*gcWork).tryGetFast", "(*guintptr).set", "(*markBits).advance", "(*mspan).allocBitsForIndex", "(*mspan).base", "(*mspan).markBitsForBase",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/mgcmark.go
tp = tp.fastForward(b-tp.addr, b+n) } else { tp = s.typePointersOfUnchecked(b) } var scanSize uintptr for { var addr uintptr if tp, addr = tp.nextFast(); addr == 0 { if tp, addr = tp.next(b + n); addr == 0 { break } } // Keep track of farthest pointer we found, so we can // update heapScanWork. TODO: is there a better metric,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
boundary = "simple boundary", source = Buffer().writeUtf8(multipart), ) parts.nextPart()!! val partMno = parts.nextPart()!! assertThat(partMno.body.readUtf8()).isEqualTo("mnop") assertThat(parts.nextPart()).isNull() } @Test fun `cannot read part after calling nextPart`() { val multipart = """ |--simple boundary | |abcd |efgh
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/TasksFromProjectDependencies.java
projectState.ensureTasksDiscovered(); Task nextTask = projectState.getMutableModel().getTasks().findByName(taskName); if (nextTask != null && context.getTask() != nextTask) { context.add(nextTask); } } } @Override public Set<? extends Task> getDependencies(@Nullable Task task) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:17:37 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/pprof/map.go
var last *profMapEntry Search: for e := m.hash[h]; e != nil; last, e = e, e.nextHash { if len(e.stk) != len(stk) || e.tag != tag { continue } for j := range stk { if e.stk[j] != uintptr(stk[j]) { continue Search } } // Move to front. if last != nil { last.nextHash = e.nextHash e.nextHash = m.hash[h] m.hash[h] = e } return e } // Add new entry.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 21:51:02 UTC 2020 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
* until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read. * * Typical use loops over the parts in sequence: * * ```kotlin * val response: Response = call.execute() * val multipartReader = MultipartReader(response.body!!) * * multipartReader.use { * while (true) { * val part = multipartReader.nextPart() ?: break * process(part.headers, part.body)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/http/listener_test.go
} nextTest: for i, testCase := range testCases { listener, errs := newHTTPListener(context.Background(), testCase.serverAddrs, TCPOptions{}, ) for _, err := range errs { if err != nil { if strings.Contains(err.Error(), "The requested address is not valid in its context") { // Ignore if IP is unbindable. continue nextTest }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjects.java
for (Task nextTask : tasksWithName) { if (context.getTask() != nextTask) { boolean isDependency = checker.isDependent(thisProject, configurationName, nextTask.getProject()); if (isDependency) { context.add(nextTask); } } } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:16:36 UTC 2024 - 4.4K bytes - Viewed (0) -
src/mime/multipart/multipart_test.go
} p, err = mr2.NextPart() if err != nil { t.Fatalf("reading text/html part: %v", err) } if b, err := io.ReadAll(p); string(b) != "<b>body</b>\r\n" || err != nil { t.Fatalf("reading text/html part: got %q, %v", b, err) } p, err = mr2.NextPart() if err != io.EOF { t.Fatalf("final inner NextPart = %v; want io.EOF", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 30.4K bytes - Viewed (0)