Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 437 for split (0.04 sec)

  1. .teamcity/src/main/kotlin/model/bucket-extensions.kt

    package model
    
    import java.util.LinkedList
    import kotlin.math.min
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    	// This splitter will fail on last entry, after s.err==EOF.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = ScanWords(data, atEOF)
    		if len(token) > 1 {
    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    	for s.Scan() {
    	}
    	if s.Err() != testError {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        public void test_beginDone() {
            String key = "test";
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            String[] values = localLogMsg.get().split("\t");
            assertEquals(3, values.length);
            assertEquals("url:test", values[0]);
            assertTrue(values[1].startsWith("time:"));
            assertTrue(values[2].startsWith("done:"));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus_test.go

    			args:          strings.Split("deployment/random-gibberish", " "),
    			wantException: true,
    		},
    		{ // case 3: supplying nonexistent deployment name
    			args:          strings.Split("deployment/random-gibberish.default", " "),
    			wantException: true,
    		},
    		{ // case 4: supplying nonexistent deployment name in nonexistent namespace
    			args:          strings.Split("deployment/random-gibberish.bogus", " "),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/strings/61901.md

      all substrings of s separated by sep.
    - [SplitAfterSeq] returns an iterator
      over substrings of s split after each instance of sep.
    - [FieldsSeq] returns an iterator over
      substrings of s split around runs of whitespace characters,
      as defined by unicode.IsSpace.
    - [FieldsFuncSeq] returns an iterator
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 580 bytes
    - Viewed (0)
  6. src/bufio/scan.go

    	s.maxTokenSize = max
    }
    
    // Split sets the split function for the [Scanner].
    // The default split function is [ScanLines].
    //
    // Split panics if it is called after scanning has started.
    func (s *Scanner) Split(split SplitFunc) {
    	if s.scanCalled {
    		panic("Split called after Scan")
    	}
    	s.split = split
    }
    
    // Split functions
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint_test.go

    		gateways        []*gateway.Gateway
    		expectedOutFile string
    	}{
    		{
    			name:            "no gateways",
    			args:            strings.Split("list", " "),
    			gateways:        []*gateway.Gateway{},
    			expectedOutFile: "no-gateway",
    		},
    		{
    			name: "default namespace gateway",
    			args: strings.Split("list", " "),
    			gateways: []*gateway.Gateway{
    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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 Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

          }
        }
        OptionalState state = new OptionalState();
    
        Deque<Spliterator<T>> splits = new ArrayDeque<>();
        splits.addLast(stream.spliterator());
    
        while (!splits.isEmpty()) {
          Spliterator<T> spliterator = splits.removeLast();
    
          if (spliterator.getExactSizeIfKnown() == 0) {
            continue; // drop this split
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }
            fessConfig = ComponentUtil.getFessConfig();
            split(fessConfig.getSuggestFieldContents(), ",")
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add));
            split(fessConfig.getSuggestFieldTags(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(tagFieldNameSet::add));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top