Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 210 for getEnd (0.18 sec)

  1. internal/config/subnet/config.go

    	defer configLock.Unlock()
    
    	c.License = ncfg.License
    	c.APIKey = ncfg.APIKey
    	c.Proxy = ncfg.Proxy
    	c.transport = ncfg.transport
    	c.BaseURL = baseURL
    
    	if isDevEnv {
    		c.BaseURL = os.Getenv("_MINIO_SUBNET_URL")
    		if c.BaseURL == "" {
    			c.BaseURL = baseURLDev
    		}
    	}
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/internal/fuzz/pcg.go

    // concurrency safe.
    type pcgRand struct {
    	noCopy noCopy // help avoid mistakes: ask vet to ensure that we don't make a copy
    	state  uint64
    	inc    uint64
    }
    
    func godebugSeed() *int {
    	debug := strings.Split(os.Getenv("GODEBUG"), ",")
    	for _, f := range debug {
    		if strings.HasPrefix(f, "fuzzseed=") {
    			seed, err := strconv.Atoi(strings.TrimPrefix(f, "fuzzseed="))
    			if err != nil {
    				panic("malformed fuzzseed")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

                               << partition_dim << ".";
      }
    
      llvm::SmallVector<int64_t, 4> partition_dims(is_replicated ? 0 : rank, 1);
      if (!is_replicated) {
        partition_dims[partition_dim] = num_cores_per_replica.getInt();
      }
    
      if constexpr (is_input) {
        auto pi = builder.create<TF::TPUPartitionedInputV2Op>(
            op.getLoc(), op.getType(), op.getOperands(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	if os.Getenv("CMDGO_TEST_RUN_MAIN") != "" {
    		cfg.SetGOROOT(cfg.GOROOT, true)
    		gover.TestVersion = os.Getenv("TESTGO_VERSION")
    		toolchain.TestVersionSwitch = os.Getenv("TESTGO_VERSION_SWITCH")
    		if v := os.Getenv("TESTGO_TOOLCHAIN_VERSION"); v != "" {
    			work.ToolchainVersion = v
    		}
    
    		if testGOROOT := os.Getenv("TESTGO_GOROOT"); testGOROOT != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

        }
    
        def "reports build logic reading environment variables with getenv(String) using GString parameters"() {
            // Note that the map returned from System.getenv() doesn't support GStrings as keys, so there is no point in testing it.
            buildFile << '''
                def ci = "ci"
                def value = "value"
                println "CI1 = " + System.getenv("${ci.toUpperCase()}1")
            '''
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  6. src/flag/flag_test.go

    }
    
    func TestExitCode(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	magic := 123
    	if os.Getenv("GO_CHILD_FLAG") != "" {
    		fs := NewFlagSet("test", ExitOnError)
    		if os.Getenv("GO_CHILD_FLAG_HANDLE") != "" {
    			var b bool
    			fs.BoolVar(&b, os.Getenv("GO_CHILD_FLAG_HANDLE"), false, "")
    		}
    		fs.Parse([]string{os.Getenv("GO_CHILD_FLAG")})
    		os.Exit(magic)
    	}
    
    	tests := []struct {
    		flag       string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/mktests.go

    	}
    }
    
    type context struct {
    	testNames map[string]struct{}
    	filter    *regexp.Regexp
    }
    
    func newContext() (*context, error) {
    	var filter *regexp.Regexp
    	var err error
    	if pattern := os.Getenv("GOTRACETEST"); pattern != "" {
    		filter, err = regexp.Compile(pattern)
    		if err != nil {
    			return nil, fmt.Errorf("compiling regexp %q for GOTRACETEST: %v", pattern, err)
    		}
    	}
    	return &context{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tests/main.py

        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    @app.get("/path/str/{item_id}")
    def get_str_id(item_id: str):
        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd_libc.go

    }
    
    //sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_read
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_lseek
    //sys	getcwd(buf []byte) (n int, err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/go/main.go

    			if strings.HasPrefix(p, "~") {
    				fmt.Fprintf(os.Stderr, "go: GOPATH entry cannot start with shell metacharacter '~': %q\n", p)
    				os.Exit(2)
    			}
    			if !filepath.IsAbs(p) {
    				if cfg.Getenv("GOPATH") == "" {
    					// We inferred $GOPATH from $HOME and did a bad job at it.
    					// Instead of dying, uninfer it.
    					cfg.BuildContext.GOPATH = ""
    				} else {
    					counterErrorsGOPATHEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top