Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,153 for SplitV (0.31 sec)

  1. pilot/cmd/pilot-agent/options/agent.go

    func extractXDSHeadersFromEnv(o *istioagent.AgentOptions) {
    	envs := os.Environ()
    	for _, e := range envs {
    		if strings.HasPrefix(e, xdsHeaderPrefix) {
    			parts := strings.SplitN(e, "=", 2)
    			if len(parts) != 2 {
    				continue
    			}
    			o.XDSHeaders[parts[0][len(xdsHeaderPrefix):]] = parts[1]
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/syscalls_linux.go

    		return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status)
    	}
    	stateLine := bytes.SplitN(lines[stateLineIdx], []byte{':'}, 2)
    	if len(stateLine) != 2 {
    		// Malformed status file?
    		return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status)
    	}
    	// Check if it's a zombie thread.
    	return !bytes.Contains(stateLine[1], []byte{'Z'}), true, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/go/types/eval_test.go

    					str, typ := split(s[2:len(s)-2], ", ")
    					str, val := split(str, "=>")
    					testEval(t, fset, pkg, comment.Pos(), str, nil, typ, val)
    				}
    			}
    		}
    	}
    }
    
    // gotypesalias controls the use of Alias types.
    var gotypesalias = godebug.New("#gotypesalias")
    
    // split splits string s at the first occurrence of s, trimming spaces.
    func split(s, sep string) (string, string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. internal/arn/arn.go

    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    		err = errors.New("invalid ARN - resource does not contain a \"/\"")
    		return
    	}
    
    	if res[0] != string(arnResourceTypeRole) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/path/filepath/path.go

    	return filepathlite.FromSlash(path)
    }
    
    // SplitList splits a list of paths joined by the OS-specific [ListSeparator],
    // usually found in PATH or GOPATH environment variables.
    // Unlike strings.Split, SplitList returns an empty slice when passed an empty
    // string.
    func SplitList(path string) []string {
    	return splitList(path)
    }
    
    // Split splits path immediately following the final [Separator],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val csvLines = scenarios.map { "${it.className};${it.scenario}" }
        val action = "include"
        val fileNamePostfix = "$testProject-performance-scenarios.csv"
        val performanceTestSplitDirectoryName = "performance-test-splits"
        val unixScript = """
    mkdir -p $performanceTestSplitDirectoryName
    rm -rf $performanceTestSplitDirectoryName/*-$fileNamePostfix
    cat > $performanceTestSplitDirectoryName/$action-$fileNamePostfix << EOL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. src/embed/embed.go

    	// the relevant sequence of entries.
    	files *[]file
    }
    
    // split splits the name into dir and elem as described in the
    // comment in the FS struct above. isDir reports whether the
    // final trailing slash was present, indicating that name is a directory.
    func split(name string) (dir, elem string, isDir bool) {
    	name, isDir = stringslite.CutSuffix(name, "/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectSpliterators.java

          }
    
          @Override
          @CheckForNull
          public Spliterator<T> trySplit() {
            Spliterator.OfInt split = delegate.trySplit();
            return (split == null) ? null : new WithCharacteristics(split);
          }
    
          @Override
          public long estimateSize() {
            return delegate.estimateSize();
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // Splits the weights into 4: i, f, c, o.
      const int splits = 4;
    
      Operation* weights_array;
      if (failed(CreateEqualSizeSplitVOp(transposed_weight_kernel, 0, splits,
                                         func_op.getLoc(), builder,
                                         &weights_array)))
        return failure();
    
      // Splits the recurrent_weights into 4:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    
    	// Use -ldflags=-debugtextsize=262144 to let the linker split text section
    	// at a smaller size threshold, so it actually splits for the test binary.
    	goCmd(nil, "build", "-ldflags=-debugtextsize=262144", "-o", "host-split.exe", "./host")
    	run(t, "./host-split.exe")
    
    	// Check that we did split text sections.
    	syms := goCmd(nil, "tool", "nm", "host-split.exe")
    	if !strings.Contains(syms, "runtime.text.1") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top