- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 144 for expvar (0.17 sec)
-
security/pkg/server/ca/authenticate/oidc_test.go
if err != nil { t.Fatalf("failed to create the JWT authenticator: %v", err) } // Create a valid JWT token expStr := strconv.FormatInt(time.Now().Add(time.Hour).Unix(), 10) claims := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "system:serviceaccount:bar:foo", "exp": ` + expStr + `}` token, err := generateJWT(&key, []byte(claims)) if err != nil { t.Fatalf("failed to generate JWT: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
result, err := takeByTopologyNUMADistributed(tc.topo, tc.availableCPUs, tc.numCPUs, tc.cpuGroupSize) if err != nil { if tc.expErr == "" { t.Errorf("unexpected error [%v]", err) } if tc.expErr != "" && err.Error() != tc.expErr { t.Errorf("expected error to be [%v] but it was [%v]", tc.expErr, err) } return } if !result.Equals(tc.expResult) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
pkg/api/v1/pod/util.go
for _, env := range container.EnvFrom { if env.SecretRef != nil { if !visitor(env.SecretRef.Name) { return false } } } for _, envVar := range container.Env { if envVar.ValueFrom != nil && envVar.ValueFrom.SecretKeyRef != nil { if !visitor(envVar.ValueFrom.SecretKeyRef.Name) { return false } } } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 17:18:04 UTC 2023 - 13.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
func (in *EnvVar) DeepCopyInto(out *EnvVar) { *out = *in in.EnvVar.DeepCopyInto(&out.EnvVar) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. func (in *EnvVar) DeepCopy() *EnvVar { if in == nil { return nil } out := new(EnvVar) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 25.2K bytes - Viewed (0) -
src/syscall/mksyscall_libc.pl
if($type =~ /^\*/) { push @args, "uintptr(unsafe.Pointer($name))"; } elsif($type eq "string" && $errvar ne "") { $text .= "\tvar _p$n $strconvtype\n"; $text .= "\t_p$n, $errvar = $strconvfunc($name)\n"; $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n"; push @args, "uintptr(unsafe.Pointer(_p$n))"; $n++; } elsif($type eq "string") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 11:28:51 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir
// CHECK-NEXT: tf_device.replicate([%arg0, %[[FULL_0]], %[[FULL_1]], %[[FULL_0]]] as %[[REPVAR:.*]]: tensor<f32>) {n = 4 : i32} { // CHECK-NEXT: %[[ID:.*]] = "tf_device.launch"() <{device = "TPU_REPLICATED_HOST_0"}> ({ // CHECK-NEXT: %[[IDINSIDE:.*]] = "tf.Identity"(%[[REPVAR]]) {ici_weight_distribution_mlir_bridge_marker = true} : (tensor<f32>) -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
_, errors := isPrivileged.Check() if len(errors) != 0 && len(tt.expectedErrNonRoot) != 0 { expErr = tt.expectedErrNonRoot } if err != nil && !strings.Contains(err.Error(), expErr) { t.Fatalf("enforceRequirements returned unexpected error, expected: %s, got %v", expErr, err) } }) } } func TestPrintConfiguration(t *testing.T) { var tests = []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
// of env vars. func envVarsToMap(envs []EnvVar) map[string]string { result := map[string]string{} for _, env := range envs { result[env.Name] = env.Value } return result } // v1EnvVarsToMap constructs a map of environment name to value from a slice // of env vars. func v1EnvVarsToMap(envs []v1.EnvVar) map[string]string { result := map[string]string{} for _, env := range envs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/proxy/proxy_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/runtime-lldb_test.go
} else if !strings.Contains(string(out), "_developer") { t.Skip("Not in _developer group") } } } const lldbHelloSource = ` package main import "fmt" func main() { mapvar := make(map[string]string,5) mapvar["abc"] = "def" mapvar["ghi"] = "jkl" intvar := 42 ptrvar := &intvar fmt.Println("hi") // line 10 _ = ptrvar } ` const lldbScriptSource = ` import sys sys.path.append(sys.argv[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.8K bytes - Viewed (0)