Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 2,243 for values (0.06 seconds)

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

                }
    
                int indexOfEntryWithValue(V value) {
                  for (int i = 0; i < orderedEntries.size(); i++) {
                    if (equal(orderedEntries.get(i).getValue(), value)) {
                      return i;
                    }
                  }
                  throw new IllegalArgumentException(
                      "Map.values generator can order only sample values");
                }
              });
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                return doSendReceiveFragmentReturn;
            }
    
            public void setDoReceiveFragmentReturn(int value) {
                this.doReceiveFragmentReturn = value;
            }
    
            public void setDoSendReceiveFragmentReturn(int value) {
                this.doSendReceiveFragmentReturn = value;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. clause/association.go

    	Type        AssociationOpType // Operation type
    	Conditions  []Expression      // Filter conditions
    	Set         []Assignment      // Assignment operations (for Update and Create)
    	Values      []interface{}     // Values for Create operation
    }
    
    // AssociationAssigner is an interface for association operation providers
    type AssociationAssigner interface {
    	AssociationAssignments() []Association
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MapMaker.java

       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
       * to thread contention. But overestimates and underestimates within an order of magnitude do not
       * usually have much noticeable impact. A value of one permits only one thread to modify the map
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
          assertThat(UnsignedBytes.checkedCast(toUnsignedInt(value))).isEqualTo(value);
        }
        assertCastFails(256L);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (byte value : VALUES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMap.java

      @LazyInit @RetainedWith private transient @Nullable ImmutableCollection<V> values;
    
      /**
       * Returns an immutable collection of the values in this map, in the same order that they appear
       * in {@link #entrySet}.
       */
      @Override
      public ImmutableCollection<V> values() {
        ImmutableCollection<V> result = values;
        return (result == null) ? values = createValues() : result;
      }
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

              + " that.")
      public static int hashCode(byte value) {
        return value;
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

        @MethodSource("longGetterProvider")
        void longGetters_edgeCases(LongGetter getter, long value, String label) {
            // Arrange
            FileEntry e = new TestFileEntry("n", 0, 0, value, value, value, value, 0);
            // Act
            long actual = getter.apply(e);
            // Assert
            assertEquals(value, actual, label);
        }
    
        @Test
        @DisplayName("Calling a method on null reference throws NPE")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
            assertTrue(str.contains("fid=0x" + Hexdump.toHexString(fid, 4)));
            assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test getPadding returns correct value")
        void testGetPadding() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          try {
            multimap.asMap().values().iterator().next().remove(sampleValue);
            fail("asMap().values().iterator().next().remove() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
    
          try {
            ((Collection<?>) multimap.asMap().values().toArray()[0]).clear();
            fail("asMap().values().toArray()[0].clear() succeeded on unmodifiable multimap");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top