- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 43 for expvar (0.46 sec)
-
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) -
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) -
src/flag/example_textvar_test.go
package flag_test import ( "flag" "fmt" "net" "os" ) func ExampleTextVar() { fs := flag.NewFlagSet("ExampleTextVar", flag.ContinueOnError) fs.SetOutput(os.Stdout) var ip net.IP fs.TextVar(&ip, "ip", net.IPv4(192, 168, 0, 100), "`IP address` to parse") fs.Parse([]string{"-ip", "127.0.0.1"}) fmt.Printf("{ip: %v}\n\n", ip) // 256 is not a valid IPv4 component ip = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 10 16:56:17 UTC 2022 - 847 bytes - Viewed (0) -
test/escape_slice.go
NextVar: for _, inkv := range in { k := strings.SplitAfterN(inkv, "=", 2)[0] for i, outkv := range out { if strings.HasPrefix(outkv, k) { out[i] = inkv continue NextVar } } out = append(out, inkv) } return out } const ( IPv4len = 4 IPv6len = 16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 3.9K bytes - Viewed (0) -
src/log/slog/level_test.go
t.Errorf("%q: got %v, want string containing %q", test.in, err, test.want) } } } func TestLevelFlag(t *testing.T) { fs := flag.NewFlagSet("test", flag.ContinueOnError) lf := LevelInfo fs.TextVar(&lf, "level", lf, "set level") err := fs.Parse([]string{"-level", "WARN+3"}) if err != nil { t.Fatal(err) } if g, w := lf, LevelWarn+3; g != w { t.Errorf("got %v, want %v", g, w) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 20:44:14 UTC 2024 - 4K bytes - Viewed (0) -
src/runtime/security_test.go
} } func TestSUID(t *testing.T) { // This test is relatively simple, we build a test program which opens a // file passed via the TEST_OUTPUT envvar, prints the value of the // GOTRACEBACK envvar to stdout, and prints "hello" to stderr. We then chown // the program to "nobody" and set u+s on it. We execute the program, only // passing it two files, for stdin and stdout, and passing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 18:10:14 UTC 2023 - 4.1K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
) func updateClaimsExpiry(dsecs string, claims map[string]interface{}) error { expStr := claims["exp"] if expStr == "" { return ErrTokenExpired } // No custom duration requested, the claims can be used as is. if dsecs == "" { return nil } if _, err := auth.ExpToInt64(expStr); err != nil { return err } defaultExpiryDuration, err := GetDefaultExpiration(dsecs)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 18:10:41 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env_test.go
t.Skipf("skipping %#q on Windows: contains unescapable character %q", s, c) } } var b bytes.Buffer if runtime.GOOS == "windows" { b.WriteString("@echo off\n") } PrintEnv(&b, []cfg.EnvVar{{Name: "var", Value: s}}, false) var want string if runtime.GOOS == "windows" { fmt.Fprintf(&b, "echo \"%%var%%\"\n") want += "\"" + s + "\"\r\n" } else { fmt.Fprintf(&b, "printf '%%s\\n' \"$var\"\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 2.3K bytes - Viewed (0)