Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 907 for SplitV (0.29 sec)

  1. cmd/signature-v2.go

    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    	// Then will be splitting on ":", this will separate `AWSAccessKeyId` and `Signature` string.
    	keySignFields := strings.Split(strings.TrimSpace(authFields[1]), ":")
    	if len(keySignFields) != 2 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/mime/encodedword.go

    			currentLen = runeLen
    		}
    	}
    	io.WriteString(w, s[last:])
    	w.Close()
    }
    
    // qEncode encodes s using Q encoding and writes it to buf. It splits the
    // encoded-words when necessary.
    func (e WordEncoder) qEncode(buf *strings.Builder, charset, s string) {
    	// We only split encoded-words when the charset is UTF-8.
    	if !isUTF8(charset) {
    		writeQString(buf, s)
    		return
    	}
    
    	var currentLen, runeLen int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      split_ops_for_tiled_input.reserve(
          input_sharding.tile_assignment_devices_size());
    
      // Creates a tree of split nodes for sharding tiled inputs. Splits nodes
      // are created such that input data is sharded in row major order.
      // Split nodes at ith depth from the original input node represent nodes
      // that split the input data at i-th dimension.
      auto dimension_to_splits_map =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. src/go/build/constraint/expr.go

    					return nil, errComplex
    				}
    			}
    			ands = append(ands, lits)
    		}
    		split = append(split, ands)
    	}
    
    	// If all the ORs have length 1 (no actual OR'ing going on),
    	// push the top-level ANDs to the bottom level, so that we get
    	// one // +build line instead of many.
    	maxOr := 0
    	for _, or := range split {
    		if maxOr < len(or) {
    			maxOr = len(or)
    		}
    	}
    	if maxOr == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/runtime/lockrank_on.go

    	return l.rank
    }
    
    // lockWithRank is like lock(l), but allows the caller to specify a lock rank
    // when acquiring a non-static lock.
    //
    // Note that we need to be careful about stack splits:
    //
    // This function is not nosplit, thus it may split at function entry. This may
    // introduce a new edge in the lock order, but it is no different from any
    // other (nosplit) call before this call (including the call to lock() itself).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/strings/example_test.go

    	// Output:
    	// moo moo moo
    }
    
    func ExampleSplit() {
    	fmt.Printf("%q\n", strings.Split("a,b,c", ","))
    	fmt.Printf("%q\n", strings.Split("a man a plan a canal panama", "a "))
    	fmt.Printf("%q\n", strings.Split(" xyz ", ""))
    	fmt.Printf("%q\n", strings.Split("", "Bernardo O'Higgins"))
    	// Output:
    	// ["a" "b" "c"]
    	// ["" "man " "plan " "canal panama"]
    	// [" " "x" "y" "z" " "]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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