- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 987 for calc (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
protected final ListenableFutureTask<Integer> task = ListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
import java.util.Collection; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * When describing the features of the collection produced by a given generator (i.e. in a call to * {@link * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}), * this annotation specifies each of the different sizes for which a test suite should be built. (In
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
internal/lock/lock_windows_test.go
// longer than 255, which is illegal on Windows. (which // doesn't really matter anyway, since this is purely a string // function we're testing, and it's not actually being used to // do a system call) veryLong := "l" + strings.Repeat("o", 248) + "ng" for _, test := range []struct{ in, want string }{ // Short; unchanged: {`C:\short.txt`, `C:\short.txt`}, {`C:\`, `C:\`}, {`C:`, `C:`},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
} } /** Returns once all stream actions complete successfully. */ fun awaitSuccess() { val futureTask = results.poll(5, TimeUnit.SECONDS) ?: throw AssertionError("no onRequest call received") futureTask.get(5, TimeUnit.SECONDS) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
int keep_alive_secs) = 0; // Set up a multi-client distributed execution environment. Must be called // on all tasks in the cluster. This call internally coordinates with other // tasks to initialize the eager context and TF server for multi-client // execution. virtual absl::Status EnableCollectiveOps(const ServerDef& server_def) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/bufio/bufio.go
// Peek returns the next n bytes without advancing the reader. The bytes stop // being valid at the next read call. If Peek returns fewer than n bytes, it // also returns an error explaining why the read is short. The error is // [ErrBufferFull] if n is larger than b's buffer size. // // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding // until the next read operation. func (b *Reader) Peek(n int) ([]byte, error) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
/** * Set flag * * @param flag */ public void setFlag ( int flag ) { this.flags |= flag; } /** * * @return result exception, if the call failed */ public DcerpcException getResult () { if ( this.result != 0 ) return new DcerpcException(this.result); return null; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5K bytes - Viewed (0) -
docs/sts/assume-role.go
} func main() { flag.Parse() if minioUsername == "" || minioPassword == "" { flag.PrintDefaults() return } // The credentials package in minio-go provides an interface to call the // STS API. // Initialize credential options var stsOpts cr.STSAssumeRoleOptions stsOpts.AccessKey = minioUsername stsOpts.SecretKey = minioPassword if sessionPolicyFile != "" { var policy string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/grid/debug.go
Mux []*mux.Router Hosts []string cleanupOnce sync.Once cancel context.CancelFunc } // SetupTestGrid creates a new grid for testing purposes. // Select the number of hosts to create. // Call (TestGrid).Cleanup() when done. func SetupTestGrid(n int) (*TestGrid, error) { hosts, listeners, err := getHosts(n) if err != nil { return nil, err } dialer := &net.Dialer{ Timeout: 5 * time.Second, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/grid/trace.go
TimeToFirstByte: end.Sub(start), }, }, } // If the context contains a TraceParamsKey, add it to the trace path. v := ctx.Value(TraceParamsKey{}) // Should match SingleHandler.Call checks. switch typed := v.(type) { case *MSS: trace.Path += typed.ToQuery() case map[string]string: m := MSS(typed) trace.Path += m.ToQuery() case *URLValues:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0)