Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 153 for expvar (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/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
    - 24.1K bytes
    - Viewed (0)
  6. src/runtime/runtime-gdb_test.go

    var gslice []string
    func main() {
    	mapvar := make(map[string]string, ` + strconv.FormatInt(abi.MapBucketCount+9, 10) + `)
    	slicemap := make(map[string][]string,` + strconv.FormatInt(abi.MapBucketCount+3, 10) + `)
        chanint := make(chan int, 10)
        chanstr := make(chan string, 10)
        chanint <- 99
    	chanint <- 11
        chanstr <- "spongepants"
        chanstr <- "squarebob"
    	mapvar["abc"] = "def"
    	mapvar["ghi"] = "jkl"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/kubelet_pods_test.go

    			ns:                 "test1",
    			enableServiceLinks: &falseValue,
    			container:          &v1.Container{Env: []v1.EnvVar{}},
    			nilLister:          false,
    			staticPod:          false,
    			unsyncedServices:   true,
    			expectedEnvs:       []kubecontainer.EnvVar{},
    			expectedError:      true,
    		},
    		{
    			name:               "if services aren't synced, static pods should succeed", // if there is no service
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top