- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,285 for threaded (0.13 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 17.4K bytes - Viewed (0) -
test/chan/goroutines.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Torture test for goroutines. // Make a lot of goroutines, threaded together, and tear them down cleanly. package main import ( "os" "strconv" ) func f(left, right chan int) { left <- <-right } func main() { var n = 10000 if len(os.Args) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:44:02 UTC 2012 - 743 bytes - Viewed (0) -
pkg/controller/garbagecollector/graph.go
APIVersion: s.APIVersion, UID: s.UID, } } var _ fmt.Stringer = objectReference{} var _ logr.Marshaler = objectReference{} // The single-threaded GraphBuilder.processGraphChanges() is the sole writer of the // nodes. The multi-threaded GarbageCollector.attemptToDeleteItem() reads the nodes. // WARNING: node has different locks on different fields. setters and getters
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 13:37:56 UTC 2023 - 7.1K bytes - Viewed (0) -
samples/helloworld/src/app.py
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 20 13:44:21 UTC 2023 - 1.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; } private Platform() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:46:25 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/lock_wasip1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package runtime // wasm has no support for threads yet. There is no preemption. // See proposal: https://github.com/WebAssembly/threads // Waiting for a mutex or timeout is implemented as a busy loop // while allowing other goroutines to run. const ( mutex_unlocked = 0 mutex_locked = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go
newContent, err := c.newTLSContent() if err != nil { return err } // if the content is the same as what we currently have, we can simply skip it. This works because we are single // threaded. If you ever make this multi-threaded, add a lock. if newContent.Equal(c.currentlyServedContent) { return nil } // make a shallow copy and override the dynamic pieces which have changed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.primitives.Ints; import java.util.Random; import java.util.concurrent.atomic.AtomicLong; /** * Single-threaded benchmark for {@link LoadingCache}. * * @author Charles Fry */ public class LoadingCacheSingleThreadBenchmark { @Param({"1000", "2000"}) int maximumSize; @Param("5000") int distinctKeys;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
tensorflow/c/python_api.h
// Usually this happens automatically in TF_SessionRun. After this is called, // TF_SessionRun will no longer extend the session on every call. // // We expose this here to allow fine-grained synchronization in multi-threaded // workloads, which is required since the Python implementation depends on the // above mutation methods. This allows us to prevent modifications to nodes in // the graph after the session has been made aware of them.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0)