Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,168 for isInteger (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            TestAccessResultData<String> stringData = new TestAccessResultData<>("string value".getBytes());
            assertEquals("string value", testTransformer.getData(stringData));
    
            // Integer data
            TestAccessResultData<Integer> intData = new TestAccessResultData<>("123".getBytes());
            assertEquals("123", testTransformer.getData(intData));
    
            // List data
            List<String> list = new ArrayList<>();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * @return the document expiration date, or null if no expiration is set
         */
        public Date getDocumentExpires(final CrawlingConfig config) {
            if (config != null) {
                final Integer timeToLive = config.getTimeToLive();
                if (timeToLive != null) {
                    // timeToLive minutes
                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common.go

    			onlineDisks[index] = disks[index]
    		} else {
    			onlineDisks[index] = nil
    		}
    	}
    
    	return onlineDisks, modTime, ""
    }
    
    // Convert verify or check parts returned error to integer representation
    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                crawlerThread.setClientFactory(clientFactory);
                threads[i] =
                        new Thread(crawlerThreadGroup, crawlerThread, "Crawler-" + crawlerContext.sessionId + "-" + Integer.toString(i + 1));
                threads[i].setDaemon(daemon);
                threads[i].setPriority(threadPriority);
            }
    
            // run
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            }
        }
    
        @Override
        public String toString() {
            return "NetworkInterfaceInfo{" + "address=" + address + ", linkSpeed=" + linkSpeed + " Mbps" + ", capability=0x"
                    + Integer.toHexString(capability) + ", rssCapable=" + rssCapable + ", rdmaCapable=" + rdmaCapable + '}';
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList(E... elements) {
        checkNotNull(elements); // for GWT
        // Avoid integer overflow when a large array is passed in
        int capacity = computeArrayListCapacity(elements.length);
        ArrayList<E> list = new ArrayList<>(capacity);
        Collections.addAll(list, elements);
        return list;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       * for {@code minimumBits}, will return identically-behaving {@link HashFunction} instances.
       *
       * @param minimumBits a positive integer. This can be arbitrarily large. The returned {@link
       *     HashFunction} instance may use memory proportional to this integer.
       * @return a hash function, described above, that produces hash codes of length {@code
       *     minimumBits} or greater
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/ASN1UtilTest.java

            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Object_Failure() {
            // Test failed casting
            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[Integer.MAX_VALUE / 1000]; // Use reasonable size
                int bufferIndex = buffer.length - 4;
                SMBUtil.writeInt2(4, buffer, bufferIndex);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * static final} multimaps ("constant multimaps"). Example:
       *
       * {@snippet :
       * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP =
       *     new ImmutableListMultimap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .putAll("several", 1, 2, 3)
       *         .putAll("many", 1, 2, 3, 4, 5)
       *         .build();
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top