Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,201 for integers (0.04 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
        /**
         * Determines if this address is equal two another. Only the IP Addresses
         * are compared. Similar to the {@link #hashCode} method, the comparison
         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof NbtAddress && ((NbtAddress) obj).address == this.address;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = Integer.parseInt(obj.toString());
            }
    
            return value;
        }
    
        /**
         * Retrieves a setting value as a long.
         * @param key The key of the setting.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
        cache.evictAll()
        val urls: MutableIterator<String> = cache.urls()
        val writeAbortCount: Int = cache.writeAbortCount()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

        return newDelegate;
      }
    
      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
            CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Use large but valid time values
            long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now
            int maxAttributes = Integer.MAX_VALUE;
    
            FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes);
    
            // Encode and decode
            byte[] buffer = new byte[50];
    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/src/com/google/common/collect/ImmutableSet.java

       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 6}.
       *
       * @since 3.0 (source-compatible since 2.0)
       */
      @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) {
        checkArgument(
            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            stringData.put("text", "test value");
            callback.store(params, stringData);
    
            // Test with numeric data
            Map<String, Object> numericData = new HashMap<>();
            numericData.put("integer", 123);
            numericData.put("long", 456L);
            numericData.put("double", 789.0);
            callback.store(params, numericData);
    
            // Test with boolean data
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

            return Stream.of(Arguments.of((IntGetter) FileEntry::getType, -1, "negative type"),
                    Arguments.of((IntGetter) FileEntry::getType, 0, "zero type"),
                    Arguments.of((IntGetter) FileEntry::getType, Integer.MAX_VALUE, "max type"),
    
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"),
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"),
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @Test
            @DisplayName("Should encode maximum values correctly")
            void testEncodingWithMaxValues() {
                long maxValue = Long.MAX_VALUE;
                int maxFlags = Integer.MAX_VALUE;
    
                lock = new Smb2Lock(maxValue, maxValue, maxFlags);
                lock.encode(buffer, 0);
    
                assertEquals(maxValue, SMBUtil.readInt8(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertEquals(expectedLength, actualLength);
        }
    
        @DisplayName("Test readParametersWireFormat with various lengths")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 100, 1000, 65535, Integer.MAX_VALUE })
        void testReadParametersWireFormatWithVariousLengths(int expectedLength) throws Exception {
            byte[] buffer = new byte[100];
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top