- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,654 for context (0.15 sec)
-
internal/grid/benchmark_test.go
_, err = rng.Read(payload) errFatal(err) // Wait for all to connect // Parallel writes per server. b.Run("bytes", func(b *testing.B) { for par := 1; par <= 32; par *= 2 { b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) { defer timeout(60 * time.Second)() ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second) defer cancel() b.ReportAllocs()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 12.2K bytes - Viewed (0) -
cmd/warm-backend.go
type WarmBackend interface { Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error) Remove(ctx context.Context, object string, rv remoteVersionID) error InUse(ctx context.Context) (bool, error) } const probeObject = "probeobject"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* * @param context The local security context. */ public void setContext(byte[] context) { this.context = context; } public byte[] toByteArray() { try { String targetName = getTarget(); byte[] challenge = getChallenge(); byte[] context = getContext(); byte[] targetInformation = getTargetInformation(); int flags = getFlags();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 12.6K bytes - Viewed (0) -
internal/kms/single-key_test.go
package kms import ( "bytes" "context" "encoding/base64" "testing" ) func TestSingleKeyRoundtrip(t *testing.T) { KMS, err := Parse("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=") if err != nil { t.Fatalf("Failed to initialize KMS: %v", err) } key, err := KMS.GenerateKey(context.Background(), "my-key", Context{}) if err != nil { t.Fatalf("Failed to generate key: %v", err)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jul 19 01:54:27 GMT 2022 - 3K bytes - Viewed (0) -
internal/kms/policy-manager.go
GetPolicy(ctx context.Context, policy string) (*kes.Policy, error) // ListPolicies lists all policies. ListPolicies(ctx context.Context) (*kes.ListIter[string], error)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 1.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
configAccess := clientcmd.NewDefaultPathOptions() configAccess.GlobalFile = o.Kubeconfig if config, err := configAccess.GetStartingConfig(); err == nil { if context, ok := config.Contexts[config.CurrentContext]; ok && context.Namespace != "" { o.Namespace = context.Namespace } } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 01 23:59:49 GMT 2023 - 1.6K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
} return nsNameList, nil } func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) { nslist, err := client.Kube().CoreV1().Namespaces().List(ctx, metav1.ListOptions{}) if err != nil { return []corev1.Namespace{}, err } return nslist.Items, nil } func ValidNamespaceArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// // TODO(ashankar): Merge with TF_Session? typedef struct TFE_Context TFE_Context; TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext( const TFE_ContextOptions* opts, TF_Status* status); TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx); TF_CAPI_EXPORT extern TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
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))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K 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); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 3.3K bytes - Viewed (0)