Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 106 for expvar (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/phases/addons/proxy/proxy_test.go

    			actErr := "No error"
    			if err != nil {
    				actErr = err.Error()
    			}
    			expErr := "No error"
    			if tc.expErrString != "" {
    				expErr = tc.expErrString
    			}
    			if !strings.Contains(actErr, expErr) {
    				t.Errorf(
    					"%s test failed, expected: %s, got: %s",
    					tc.name,
    					expErr,
    					actErr)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/mksyscall.pl

    		if($type =~ /^\*/) {
    			push @args, "uintptr(unsafe.Pointer($name))";
    		} elsif($type eq "string" && $errvar ne "") {
    			$text .= "\tvar _p$n *byte\n";
    			$text .= "\t_p$n, $errvar = BytePtrFromString($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: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    	case json.Number:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

      updateFunc(ctx, tf_var_tensor, tf_value, Op);
      TF_SetStatus(tf_status, TF_OK, "");
    }
    
    struct TmpVar : public ResourceBase {
      tensorflow::mutex mu;
      Tensor val;
      std::string name;
      std::string DebugString() const override { return name; }
      ~TmpVar() override { VLOG(3) << "TmpVar " << name << " deleted"; }
    };
    
    // Makes a unique name for a temporary variable inside a while loop body,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/preflight/checks_test.go

    	var tests = []struct {
    		testName string
    		endpoint string
    		expStr   []string
    	}{
    		{
    			testName: "single stack ipv4",
    			endpoint: "10.244.0.0:1234",
    			expStr:   []string{"FileContent--proc-sys-net-ipv4-ip_forward"},
    		},
    		{
    			testName: "single stack ipv6",
    			endpoint: "[fda9:d324:354d:0::]:1234",
    			expStr:   []string{"FileContent--proc-sys-net-ipv6-conf-default-forwarding"},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. plugin/pkg/admission/resourcequota/admission_test.go

    		if testCase.expErr == "" {
    			if err != nil {
    				t.Fatalf("Testcase, %v, failed with unexpected error: %v. ExpErr: %v", testCase.description, err, testCase.expErr)
    			}
    		} else {
    			if !strings.Contains(fmt.Sprintf("%v", err), testCase.expErr) {
    				t.Fatalf("Testcase, %v, failed with unexpected error: %v. ExpErr: %v", testCase.description, err, testCase.expErr)
    			}
    		}
    
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
Back to top