- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,437 for context (0.09 sec)
-
cni/cmd/install-cni/main.go
// limitations under the License. package main import ( "context" "os" "os/signal" "syscall" "istio.io/istio/cni/pkg/cmd" "istio.io/istio/pkg/log" ) func main() { // Create context that cancels on termination signal ctx, cancel := context.WithCancel(context.Background()) sigChan := make(chan os.Signal, 1) signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
} /** * @param to * @param from */ protected static void cloneInternal ( NtlmPasswordAuthentication to, NtlmPasswordAuthentication from ) { to.context = from.context; if ( from.hashesExternal ) { to.hashesExternal = true; to.ansiHash = from.ansiHash != null ? Arrays.copyOf(from.ansiHash, from.ansiHash.length) : null;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 8.5K bytes - Viewed (0) -
cmd/erasure-decode_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" crand "crypto/rand" "io" "math/rand" "testing" "github.com/dustin/go-humanize" ) func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) { return 0, errFaultyDisk }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 21.1K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener_test.go
} conn.Close() } func connect(socket string) (*grpc.ClientConn, error) { var opts []grpc.DialOption opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { var d net.Dialer return d.DialContext(ctx, "unix", socket) })) conn, err := grpc.Dial(socket, opts...) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 08 21:58:32 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/common-main.go
// Context values are preserved. // This can be used for goroutines that live beyond the parent context. func bgContext(parent context.Context) context.Context { return bgCtx{parent: parent} } type bgCtx struct { parent context.Context } func (a bgCtx) Done() <-chan struct{} { return nil } func (a bgCtx) Err() error { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/config-current_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "os" "testing" "github.com/minio/minio/internal/config" ) func TestServerConfig(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() objLayer, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
DefaultProfileActivationContext context = new DefaultProfileActivationContext(); return context.setUserProperties(userProperties).setSystemProperties(systemProperties); } protected void assertActivation(boolean active, Profile profile, ProfileActivationContext context) { SimpleProblemCollector problems = new SimpleProblemCollector();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
return (context, query, boost) -> filter.execute(context, query, boost, chain); } protected FilterChain createDefaultFilterChain() { return (context, query, boost) -> { final QueryCommand queryCommand = queryCommandMap.get(query.getClass().getSimpleName()); if (queryCommand != null) { return queryCommand.execute(context, query, boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
assertTrue(adapter.matchesSocketFactory(context.socketFactory)) assertNotNull(adapter.trustManager(context.socketFactory)) } @ParameterizedTest @MethodSource("data") fun testDoesntMatchSupportedCustomSocketFactory(adapter: SocketAdapter) { assumeFalse(adapter is StandardAndroidSocketAdapter) assertFalse(adapter.matchesSocketFactory(context.socketFactory))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
istioctl/pkg/xds/google.go
) type meshAuthCredentials struct { k8sCreds credentials.PerRPCCredentials gcpCreds credentials.PerRPCCredentials project string } func (c *meshAuthCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) { ret := map[string]string{ "x-goog-user-project": c.project, } if err := updateAuthHdrs(ctx, uri, "k8s", c.k8sCreds, ret, "x-mesh-authorization"); err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0)