- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 123 for getConf (0.38 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/grpc.go
} defer func() { _ = conn.Close() }() getConn = func() (*grpc.ClientConn, func(), error) { return conn, func() {}, nil } } call := &grpcCall{ e: c.e, getConn: getConn, } return doForward(ctx, cfg, c.e, call.makeRequest) } func (c *grpcProtocol) Close() error { return nil } type grpcCall struct { e *executor getConn grpcConnectionGetter }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 14 19:45:43 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/xds.go
conn, err := newXDSConnection(cfg) if err != nil { return nil, err } defer func() { _ = conn.Close() }() getConn = func() (*grpc.ClientConn, func(), error) { return conn, func() {}, nil } } call := grpcCall{ e: c.e, getConn: getConn, } return doForward(ctx, cfg, c.e, call.makeRequest) } func (c *xdsProtocol) Close() error { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 10 18:09:08 UTC 2022 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy
return new SystemPropertyRead() { @Override String getJavaExpression() { return "Long.getLong(\"$name\")" } @Override String getGroovyExpression() { return "Long.getLong(\"$name\")" } @Override String getKotlinExpression() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertEquals(6, getDone(transformedFuture).intValue()); // Repeated calls yield the same value even though the function's behavior // changes holder.value = 3; assertEquals(6, getDone(transformedFuture).intValue()); assertEquals(7, adder.apply(4).intValue()); // Once more, with feeling. holder.value = 4; assertEquals(6, getDone(transformedFuture).intValue());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
assertEquals(6, getDone(transformedFuture).intValue()); // Repeated calls yield the same value even though the function's behavior // changes holder.value = 3; assertEquals(6, getDone(transformedFuture).intValue()); assertEquals(7, adder.apply(4).intValue()); // Once more, with feeling. holder.value = 4; assertEquals(6, getDone(transformedFuture).intValue());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
src/time/mono_test.go
} if GetMono(&t2) != 123456889012345 { t.Errorf("t2.mono = %d, want 123456889012345", GetMono(&t2)) } t3 := tm.Add(-9e18) // wall now out of range if t3.Nanosecond() != 123456 { t.Errorf("t3.Nanosecond() = %d, want 123456", t3.Nanosecond()) } if GetMono(&t3) != 0 { t.Errorf("t3.mono = %d, want 0 (wall time out of range for monotonic reading)", GetMono(&t3)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 17:10:49 UTC 2022 - 8.3K bytes - Viewed (0) -
src/net/nss_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:15:51 UTC 2022 - 3.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/InstrumentedTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 7.9K bytes - Viewed (0)