Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,083 for split3 (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc

          return op.emitOpError("failed to open vocabulary file")
                 << " (" << filename << "): " << error_message;
        }
    
        // Splits into lines.
        SmallVector<StringRef, 8> lines;
        file->getBuffer().split(lines, "\n", -1, false);
        // The resize method is used since split operator puts tail value in the end
        // without splitting the leftovers.
        if (op.getVocabSize() != -1) lines.resize(op.getVocabSize());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/fix/typecheck.go

    				}
    				return split(s[i:j]), split(out)
    			}
    		}
    	}
    	return nil, nil
    }
    
    // joinFunc is the inverse of splitFunc.
    func joinFunc(in, out []string) string {
    	outs := ""
    	if len(out) == 1 {
    		outs = " " + out[0]
    	} else if len(out) > 1 {
    		outs = " (" + join(out) + ")"
    	}
    	return "func(" + join(in) + ")" + outs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    type Version struct {
    	components    []uint
    	semver        bool
    	preRelease    string
    	buildMetadata string
    }
    
    var (
    	// versionMatchRE splits a version string into numeric and "extra" parts
    	versionMatchRE = regexp.MustCompile(`^\s*v?([0-9]+(?:\.[0-9]+)*)(.*)*$`)
    	// extraMatchRE splits the "extra" part of versionMatchRE into semver pre-release and build metadata; it does not validate the "no leading zeroes" constraint for pre-release
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. pkg/credentialprovider/keyring.go

    	parsed.Scheme = ""
    	return parsed, nil
    }
    
    // SplitURL splits the host name into parts, as well as the port
    func SplitURL(url *url.URL) (parts []string, port string) {
    	host, port, err := net.SplitHostPort(url.Host)
    	if err != nil {
    		// could not parse port
    		host, port = url.Host, ""
    	}
    	return strings.Split(host, "."), port
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.2K bytes
    - Viewed (0)
  5. pkg/fieldpath/fieldpath.go

    	}
    
    	return "", fmt.Errorf("unsupported fieldPath: %v", fieldPath)
    }
    
    // SplitMaybeSubscriptedPath checks whether the specified fieldPath is
    // subscripted, and
    //   - if yes, this function splits the fieldPath into path and subscript, and
    //     returns (path, subscript, true).
    //   - if no, this function returns (fieldPath, "", false).
    //
    // Example inputs and outputs:
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. pkg/version/version.go

    func NewBuildInfoFromOldString(oldOutput string) (BuildInfo, error) {
    	res := BuildInfo{}
    
    	lines := strings.Split(oldOutput, "\n")
    	for _, line := range lines {
    		if strings.TrimSpace(line) == "" {
    			continue
    		}
    		fields := strings.SplitN(line, ":", 2)
    		if fields != nil {
    			if len(fields) != 2 {
    				return BuildInfo{}, fmt.Errorf("invalid BuildInfo input, field '%s' is not valid", fields[0])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/work/security_test.go

    	{"-fno-objc-arc"},
    	{"-fomit-frame-pointer"},
    	{"-fno-omit-frame-pointer"},
    	{"-fpic"},
    	{"-fno-pic"},
    	{"-fPIC"},
    	{"-fno-PIC"},
    	{"-fpie"},
    	{"-fno-pie"},
    	{"-fPIE"},
    	{"-fno-PIE"},
    	{"-fsplit-stack"},
    	{"-fno-split-stack"},
    	{"-fstack-xxx"},
    	{"-fno-stack-xxx"},
    	{"-fsanitize=hands"},
    	{"-g"},
    	{"-ggdb"},
    	{"-march=souza"},
    	{"-mcmodel=medium"},
    	{"-mcpu=123"},
    	{"-mfpu=123"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. .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)
Back to top