Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4611 - 4620 of 7,303 for recur2 (0.05 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
        return total;
      }
    
      @Benchmark
      int stringSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(STRING_SPLITTER.split(input));
        }
    
        return total;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java

                expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
                if (unprefixedPathKeys.contains(expression)) {
                    return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
                }
            }
    
            return null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Ticker.java

       *
       * @since 10.0
       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
      private static final Ticker SYSTEM_TICKER =
          new Ticker() {
            @Override
            @SuppressWarnings("GoodTime") // reading system time without TimeSource
            public long read() {
              return System.nanoTime();
            }
          };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. docs_src/generate_clients/tutorial001_py39.py

    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=list[Item])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 494 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

         * according to the configured patterns.
         *
         * @param url the URL to convert
         * @return the converted URL after applying all duplicate host rules,
         *         or null if the input URL is null
         */
        public String convert(final String url) {
            if (url == null) {
                return null;
            }
    
            if (duplicateHostList == null) {
                init();
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    resp.getNotifyInformation().clear();
                }
                return resp.getNotifyInformation();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#call()
         */
        @Override
        public List<FileNotifyInformation> call() throws CIFSException {
            return watch();
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

                }
            }
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
            return Collections.emptyList();
        }
    
        @Override
        public Artifact transformArtifact(Artifact artifact) {
            return artifact;
        }
    
        @Override
        public Collection<? extends Metadata> finish(Collection<? extends Artifact> artifacts) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. internal/s3select/jstream/scanner_test.go

    	mockData  byte
    	failAfter int
    }
    
    func newMockReader(failAfter int, data byte) *mockReader {
    	return &mockReader{0, data, failAfter}
    }
    
    func (r *mockReader) Read(p []byte) (n int, err error) {
    	if r.pos >= r.failAfter {
    		return 0, fmt.Errorf("intentionally unexpected reader error")
    	}
    	r.pos++
    	p[0] = r.mockData
    	return 1, nil
    }
    
    func TestScannerFailure(t *testing.T) {
    	var (
    		i         int
    		failAfter = 900
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

        extends AbstractFilteredIterableTest<Iterable<Integer>> {
      @Override
      Iterable<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top