Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 3,023 for value3 (0.04 sec)

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

      private static final long[] VALUES = {MIN_VALUE, -1L, 0L, 1L, MAX_VALUE};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for " + value)
              .that(Longs.hashCode(value))
              .isEqualTo(Long.hashCode(value));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMap.java

      @Override
      public boolean containsValue(@Nullable Object value) {
        return delegate().containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
        return delegate().put(key, value);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    It will perform the validation of the compound data, and will document it like that for the OpenAPI schema and automatic docs.
    
    ## Singular values in body { #singular-values-in-body }
    
    The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Verify return values
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, level);
            assertEquals(8, size);
            assertEquals(8, encoded);
            assertEquals(8, decoded);
            assertNotNull(str);
            assertTrue(str.contains("4096"));
        }
    
        /**
         * Test FileInformation constants match expected protocol values
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FunnelsTest.java

      }
    
      public void testForInts() {
        Integer value = 1234;
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.integerFunnel().funnel(value, primitiveSink);
        verify(primitiveSink).putInt(1234);
      }
    
      public void testForInts_null() {
        assertNullsThrowException(Funnels.integerFunnel());
      }
    
      public void testForLongs() {
        Long value = 1234L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder();
          int key = 1;
          for (UnhashableObject value : elements) {
            builder.put(key++, value);
          }
          return builder.buildOrThrow().values();
        }
      }
    
      public static class ImmutableMapKeyListGenerator extends TestStringListGenerator {
        @Override
        public List<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Serialization.java

          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertEquals(32, ACE.FILE_EXECUTE, "FILE_EXECUTE constant value");
                assertEquals(64, ACE.FILE_DELETE, "FILE_DELETE constant value");
                assertEquals(128, ACE.FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES constant value");
                assertEquals(256, ACE.FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES constant value");
    
                assertEquals(0x00010000, ACE.DELETE, "DELETE constant value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with a positive value
            int value = 0x12345678;
            NtlmMessage.writeULong(data, 0, value);
            expectedBuffer.putInt(0, value);
            assertArrayEquals(expectedBuffer.array(), data, "Should write positive ULong correctly.");
    
            // Test with zero
            value = 0;
            NtlmMessage.writeULong(data, 0, value);
            expectedBuffer.putInt(0, value);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top