Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for base_name (0.32 sec)

  1. src/encoding/json/decode_test.go

    	{CaseName: Name(""), in: `-5`, ptr: new(int16), out: int16(-5)},
    	{CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2"), useNumber: true},
    	{CaseName: Name(""), in: `2`, ptr: new(Number), out: Number("2")},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: float64(2.0)},
    	{CaseName: Name(""), in: `2`, ptr: new(any), out: Number("2"), useNumber: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    	fileMod := time.Unix(1000000000, 0).UTC()
    	fs := fakeFS{
    		"/": &fakeFileInfo{
    			dir:     true,
    			modtime: dirMod,
    			ents: []*fakeFileInfo{
    				{
    					basename: "b",
    					modtime:  fileMod,
    					contents: contents,
    				},
    				{
    					basename: "a",
    					modtime:  fileMod,
    					contents: contents,
    				},
    			},
    		},
    	}
    
    	ts := newClientServerTest(t, mode, FileServer(&fs)).ts
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		{think: time.Second / 2, pad: time.Second, finalSeats: 2, conc: 2, nClients: 2, exp: flts(0.25, 0.25)},
    	} {
    		caseName := fmt.Sprintf("think=%v,finalSeats=%d,pad=%v,nClients=%d,conc=%d", seps.think, seps.finalSeats, seps.pad, seps.nClients, seps.conc)
    		t.Run(caseName, func(t *testing.T) {
    			metrics.Register()
    			now := time.Now()
    
    			clk, counter := testeventclock.NewFake(now, 0, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    			expectedHasName: false,
    			expectedError:   fmt.Errorf("there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. '" + basename + " get resource/<resource_name>' instead of '" + basename + " get resource resource/<resource_name>'"),
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			hasNames, err := HasNames(tt.args)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

        }
    
        public Task task(Map options, Object task) {
            return task(options, task.toString());
        }
    
        @Override
        public Task task(Map options, String task, Closure configureClosure) {
            return taskContainer.create(addMaps(Cast.uncheckedNonnullCast(options), singletonMap(Task.TASK_NAME, task))).configure(configureClosure);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        Args:
          loc: OriginInfo
    
        Returns:
          A serialized mlir location string.
        """
        if loc is not None and loc.loc.filename:
          file_name = os.path.basename(loc.loc.filename)
          return 'loc("{}":{}:{})'.format(file_name, loc.loc.lineno,
                                          loc.loc.col_offset)
        else:
          return 'loc(unknown)'
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  7. configure.py

        renamed_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath)
        symlink_force(existing_filepath, renamed_filepath)
      for filepath in IOS_FILES:
        filename = os.path.basename(filepath)
        new_filepath = os.path.join(_TF_WORKSPACE_ROOT, filename)
        symlink_force(filepath, new_filepath)
    
    
    def validate_cuda_config(environ_cp):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. hack/local-up-cluster.sh

    LOG_LEVEL=${LOG_LEVEL:-3}
    # Use to increase verbosity on particular files, e.g. LOG_SPEC=token_controller*=5,other_controller*=4
    LOG_SPEC=${LOG_SPEC:-""}
    LOG_DIR=${LOG_DIR:-"/tmp"}
    TMP_DIR=${TMP_DIR:-$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")}
    CONTAINER_RUNTIME_ENDPOINT=${CONTAINER_RUNTIME_ENDPOINT:-"unix:///run/containerd/containerd.sock"}
    RUNTIME_REQUEST_TIMEOUT=${RUNTIME_REQUEST_TIMEOUT:-"2m"}
    IMAGE_SERVICE_ENDPOINT=${IMAGE_SERVICE_ENDPOINT:-""}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    		return nil
    
    	case "runindir":
    		// Make a shallow copy of t.goDirName() in its own module and GOPATH, and
    		// run "go run ." in it. The module path (and hence import path prefix) of
    		// the copy is equal to the basename of the source directory.
    		//
    		// It's used when test a requires a full 'go build' in order to compile
    		// the sources, such as when importing multiple packages (issue29612.dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size uint32) (err error) = psapi.GetModuleFileNameExW
    //sys	GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uint32) (err error) = psapi.GetModuleBaseNameW
    //sys   QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) = psapi.QueryWorkingSetEx
    
    // NT Native APIs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top