Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 347 for rsplit (0.05 sec)

  1. guava/src/com/google/common/collect/Streams.java

        @Override
        public @Nullable S trySplit() {
          Spliterator<?> splitOrNull = fromSpliterator.trySplit();
          if (splitOrNull == null) {
            return null;
          }
          @SuppressWarnings("unchecked")
          F split = (F) splitOrNull;
          S result = createSplit(split, index);
          this.index += split.getExactSizeIfKnown();
          return result;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

        @Override
        public @Nullable S trySplit() {
          Spliterator<?> splitOrNull = fromSpliterator.trySplit();
          if (splitOrNull == null) {
            return null;
          }
          @SuppressWarnings("unchecked")
          F split = (F) splitOrNull;
          S result = createSplit(split, index);
          this.index += split.getExactSizeIfKnown();
          return result;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	// U+0068 'h'
    	// U+0065 'e'
    	// U+0072 'r'
    }
    
    func ExampleSplit() {
    	fmt.Printf("%q\n", bytes.Split([]byte("a,b,c"), []byte(",")))
    	fmt.Printf("%q\n", bytes.Split([]byte("a man a plan a canal panama"), []byte("a ")))
    	fmt.Printf("%q\n", bytes.Split([]byte(" xyz "), []byte("")))
    	fmt.Printf("%q\n", bytes.Split([]byte(""), []byte("Bernardo O'Higgins")))
    	// Output:
    	// ["a" "b" "c"]
    	// ["" "man " "plan " "canal panama"]
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    //   - n == 0: the result is nil (zero subslices);
    //   - n < 0: all subslices.
    func SplitAfterN(s, sep []byte, n int) [][]byte {
    	return genSplit(s, sep, len(sep), n)
    }
    
    // Split slices s into all subslices separated by sep and returns a slice of
    // the subslices between those separators.
    // If sep is empty, Split splits after each UTF-8 sequence.
    // It is equivalent to SplitN with a count of -1.
    //
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                    "estimated size of trySplit result (%s) is larger than original size (%s)",
                    trySplit.estimateSize(), originalSize));
          }
        }
        if (subsized) {
          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                    "estimated size of trySplit result (%s) is larger than original size (%s)",
                    trySplit.estimateSize(), originalSize));
          }
        }
        if (subsized) {
          if (trySplit != null) {
            assertEquals(
                "sum of estimated sizes of trySplit and original spliterator after trySplit",
                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

       *                    v
       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      TF_Operation* split = Split3(feed, func_graph_, s_);
      TF_Operation* add = Add({split, 0}, {split, 2}, func_graph_, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      DefineT(1, {add}, {{split, 0}, {split, 2}}, {{add, 0}}, {});
    
      // Use, run, and verify
      TF_Operation* two = ScalarConst(2, host_graph_, s_, "two");
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 63.6K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/core/stream/StreamUtil.java

         */
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        /**
         * Creates a stream of map entries from the given map.
         *
         * @param <K> the type of keys in the map
         * @param <V> the type of values in the map
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser.go

    	signedHdrFields := strings.Split(strings.TrimSpace(signedHdrElement), "=")
    	if len(signedHdrFields) != 2 {
    		return nil, ErrMissingFields
    	}
    	if signedHdrFields[0] != "SignedHeaders" {
    		return nil, ErrMissingSignHeadersTag
    	}
    	if signedHdrFields[1] == "" {
    		return nil, ErrMissingFields
    	}
    	signedHeaders := strings.Split(signedHdrFields[1], ";")
    	return signedHeaders, ErrNone
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:35 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. cmd/leak-detect_test.go

    	buf := debug.Stack()
    	// runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" .
    	for g := range strings.SplitSeq(string(buf), "\n\n") {
    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    		sl := strings.SplitN(g, "\n", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top