Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 600 for SplitV (0.18 sec)

  1. src/internal/filepathlite/path.go

    	if stringslite.IndexByte(s, old) == -1 {
    		return s
    	}
    	n := []byte(s)
    	for i := range n {
    		if n[i] == old {
    			n[i] = new
    		}
    	}
    	return string(n)
    }
    
    // Split is filepath.Split.
    func Split(path string) (dir, file string) {
    	vol := VolumeName(path)
    	i := len(path) - 1
    	for i >= len(vol) && !IsPathSeparator(path[i]) {
    		i--
    	}
    	return path[:i+1], path[i+1:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java

            String[] runtimeJarNames = split(properties.getProperty("runtime"));
            Set<File> runtimeClasspath = findDependencyJars(moduleName, runtimeJarNames);
    
            String[] projects = split(properties.getProperty("projects"));
            String[] optionalProjects = split(properties.getProperty("optional"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

                }
            }
    
            private static Pattern preparePattern(String input) {
                StringBuilder pattern = new StringBuilder();
                String[] split = StringUtils.splitPreserveAllTokens(input, '*');
                for (String s : split) {
                    if (s.equals("")) {
                        pattern.append(".*"); //replace wildcard '*' with '.*'
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/internal/godebug/godebug_test.go

    	}
    
    	var want []string
    	src, err := os.ReadFile("godebug_test.go")
    	for i, line := range strings.Split(string(src), "\n") {
    		if strings.Contains(line, "BISECT"+" "+"BUG") {
    			want = append(want, fmt.Sprintf("godebug_test.go:%d", i+1))
    		}
    	}
    	slices.Sort(want)
    
    	var have []string
    	for _, line := range strings.Split(string(out), "\n") {
    		if strings.Contains(line, "godebug_test.go:") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java

                NativeServicesMode nativeServicesMode = matcher.group(9) == null ? NativeServicesMode.ENABLED : NativeServicesMode.valueOf(matcher.group(9));
                List<String> jvmOpts = Lists.newArrayList(Splitter.on(',').split(matcher.group(10)));
                return new DefaultDaemonContext(uid, new File(javaHome), javaVersion, new File(daemonRegistryDir), pid, idleTimeout, jvmOpts, applyInstrumentationAgent, nativeServicesMode, priority);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

      tensor_info.set_name(tensor_name.str());
      *asset_file_def.mutable_tensor_info() = tensor_info;
    
      return asset_file_def;
    }
    
    // Returns a list of "tf.entry_function" attribute's "inputs" comma-split
    // values.
    //
    // Example: if `func_op` has attribute `tf.entry_function = {inputs =
    // "arg0:0,arg1:0"}`, then this function returns `{"arg0:0", "arg1:0"}`.
    SmallVector<StringRef> GetEntryFunctionInputs(func::FuncOp func_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tests/integration/pilot/common/routing.go

    		},
    		workloadAgnostic: true,
    	})
    
    	splits := [][]int{
    		{50, 25, 25},
    		{80, 10, 10},
    	}
    	if skipVM {
    		splits = [][]int{
    			{50, 50},
    			{80, 20},
    		}
    	}
    	for _, split := range splits {
    		split := split
    		t.RunTraffic(TrafficTestCase{
    			name:           fmt.Sprintf("shifting-%d", split[0]),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  8. src/path/filepath/path_plan9.go

    func HasPrefix(p, prefix string) bool {
    	return strings.HasPrefix(p, prefix)
    }
    
    func splitList(path string) []string {
    	if path == "" {
    		return []string{}
    	}
    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_unix.go too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 926 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    	const expectedSuccessMetricValue = `
    # HELP apiserver_encryption_config_controller_automatic_reload_success_total [ALPHA] Total number of successful automatic reloads of encryption configuration split by apiserver identity.
    # TYPE apiserver_encryption_config_controller_automatic_reload_success_total counter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/runtime/race/testdata/rangefunc_test.go

    import (
    	"runtime"
    	"sync/atomic"
    	"testing"
    )
    
    type Seq2[T1, T2 any] func(yield func(T1, T2) bool)
    
    // ofSliceIndex returns a Seq over the elements of s. It is equivalent
    // to range s, except that it splits s into two halves and iterates
    // in two separate goroutines.  This is racy if yield is racy, and yield
    // will be racy if it contains an early exit.
    func ofSliceIndex[T any, S ~[]T](s S) Seq2[int, T] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top