Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 594 for unchanged (0.07 seconds)

  1. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        protected abstract List<Long> create(Long[] elements);
    
        @Override
        public Long[] createArray(int length) {
          return new Long[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleLongs extends SampleElements<Long> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Get original toString
            String originalString = info.toString();
    
            // Encode
            byte[] buffer = new byte[8];
            info.encode(buffer, 0);
    
            // Verify object unchanged
            assertEquals(originalString, info.toString());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
                // The response is the second argument
                Object response = invocation.getArgument(1);
                // Return it unchanged (which will have default values = empty results)
                return response;
            });
    
            // When: Create iterator
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *
       * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, and
       * the test will fail because the number of occurrences of {@code existingElement} is unchanged.
       *
       * @param elements expected additional contents of {@link #container}
       */
      protected final void expectAdded(E... elements) {
        List<E> expected = copyToList(getSampleElements());
        expected.addAll(asList(elements));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleFloats extends SampleElements<Float> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        protected abstract List<Float> create(Float[] elements);
    
        @Override
        public Float[] createArray(int length) {
          return new Float[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Float> order(List<Float> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleFloats extends SampleElements<Float> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Integer> order(List<Integer> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleIntegers extends SampleElements<Integer> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     *
     * <p>The iteration ordering of the collections generated by {@code keySet}, {@code keys}, and
     * {@code asMap} has a few subtleties. As long as the set of keys remains unchanged, adding or
     * removing mappings does not affect the key iteration order. However, if you remove all values
     * associated with a key and then add the key back to the multimap, that key will come last in the
     * key iteration order.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            for (int i = 0; i < offset; i++) {
                assertEquals((byte) (i % 256), buffer[i], "Buffer before offset should be unchanged");
            }
    
            for (int i = offset + 2; i < buffer.length; i++) {
                assertEquals((byte) (i % 256), buffer[i], "Buffer after written data should be unchanged");
            }
        }
    
        @Test
        @DisplayName("Test multiple sequential writes")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top