Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for niddle (0.34 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAllAtIndex_middle() {
        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    
      /** @return an array of the proper size with {@code null} as the key of the middle element. */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

                    .named("Chars.asList, tail subList"),
                ListTestSuiteBuilder.using(new CharsAsListMiddleSubListGenerator())
                    .named("Chars.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Character> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

                    .named("Doubles.asList, tail subList"),
                ListTestSuiteBuilder.using(new DoublesAsListMiddleSubListGenerator())
                    .named("Doubles.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Double> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
                      CollectionSize.ONE,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // Test that listeners added both before and after the value is available
        // get called correctly.
        for (int i = 0; i < 20; i++) {
    
          // Right in the middle start up a thread to close the latch.
          if (i == 10) {
            new Thread(() -> latch.countDown()).start();
          }
    
          future.addListener(listenerLatch::countDown, exec);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

                    .named("Chars.asList, tail subList"),
                ListTestSuiteBuilder.using(new CharsAsListMiddleSubListGenerator())
                    .named("Chars.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Character> builder : builders) {
          suite.addTest(
              builder
                  .withFeatures(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        }
        expectUnchanged();
        expectMissing(e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAtIndex_middle() {
        getList().add(getNumElements() / 2, e3());
        expectAdded(getNumElements() / 2, e3());
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

                EndpointPair.ordered(1, 3),
                EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          E parentElement = elementData(parentIndex);
          if (parentIndex != 0) {
            /*
             * This is a guard for the case of the childless aunt node. Since the end of the array is
             * actually the middle of the heap, a smaller childless aunt node can become a child of x
             * when we bubble up alternate levels, violating the invariant.
             */
            int grandparentIndex = getParentIndex(parentIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top