Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,414 for Integer (0.07 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.setException(exception);
        }
        for (int i = 0; i < reps; i++) {
          Facade<Integer> facade = list.get(i);
          try {
            facade.get();
            r++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

    public final class IterablesFilterArrayListTest
        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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
          assertThat(graph.nodes()).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        return suite;
      }
    
      public void testInsertionOrder() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/Collections2FilterArrayListTest.java

    public final class Collections2FilterArrayListTest
        extends AbstractFilteredCollectionTest<Collection<Integer>> {
      @Override
      Collection<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate) {
        return Collections2.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_handling_errors/test_tutorial004.py

            or "'loc': ('path', 'item_id')" in response.text
        )
        assert (
            # TODO: remove when deprecating Pydantic v1
            "value is not a valid integer" in response.text
            or "Input should be a valid integer, unable to parse string as an integer"
            in response.text
        )
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

      public SubMapMultimapAsMapImplementsMapTest() {
        super(true, true, true);
      }
    
      private TreeMultimap<String, Integer> createMultimap() {
        TreeMultimap<String, Integer> multimap =
            TreeMultimap.create(
                Ordering.<String>natural().nullsFirst(), Ordering.<Integer>natural().nullsFirst());
        multimap.put("a", -1);
        multimap.put("a", -3);
        multimap.put("z", -2);
        return multimap;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      private static Function<Integer, Integer> add(final int delta) {
        return new Function<Integer, Integer>() {
          @Override
          public Integer apply(Integer input) {
            return input + delta;
          }
        };
      }
    
      private static AsyncCallable<Integer> asyncAdd(
          final ListenableFuture<Integer> future, final int delta, final Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

      }
    
      private final boolean allowsSelfLoops;
      private final ElementOrder<Integer> incidentEdgeOrder;
    
      public StandardMutableUndirectedGraphTest(
          boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
        this.allowsSelfLoops = allowsSelfLoops;
        this.incidentEdgeOrder = incidentEdgeOrder;
      }
    
      @Override
      public MutableGraph<Integer> createGraph() {
        return GraphBuilder.undirected()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 2K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess_config.related_content/related_content.json

          "term": {
            "type": "keyword"
          },
          "content": {
            "type": "keyword"
          },
          "virtualHost": {
            "type": "keyword"
          },
          "sortOrder": {
            "type": "integer"
          },
          "createdBy": {
            "type": "keyword"
          },
          "createdTime": {
            "type": "long"
          },
          "updatedBy": {
            "type": "keyword"
          },
          "updatedTime": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 470 bytes
    - Viewed (0)
Back to top