Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,036 for wong (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @Test
        @DisplayName("Test edge case with maximum values")
        void testMaximumValues() {
            // Given
            long maxMid = Long.MAX_VALUE;
            long maxAsyncId = Long.MAX_VALUE;
            int maxCredits = Integer.MAX_VALUE;
            int maxTreeId = Integer.MAX_VALUE;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

         */
        public synchronized List<AccessResultImpl<Long>> getAccessResultList(final String url) {
            final List<AccessResultImpl<Long>> acList = new ArrayList<>();
            for (final Map.Entry<String, Map<String, AccessResultImpl<Long>>> entry : sessionMap.entrySet()) {
                if (entry.getValue() != null) {
                    final AccessResultImpl<Long> ar = entry.getValue().get(url);
                    if (ar != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

     * @since 10.0
     */
    @GwtCompatible
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         *
         * @return the creation time as a Long value.
         */
        Long getCreateTime();
    
        /**
         * Sets the creation time of the URL queue.
         *
         * @param createTime the creation time to set, represented as a Long value.
         */
        void setCreateTime(Long createTime);
    
        /**
         * Retrieves the weight of the URL queue.
         *
         * @return the weight as a float value.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

      @Throws(Exception::class)
      fun run() {
        val progressListener =
          object : ProgressListener {
            private var firstUpdate = true
    
            override fun update(
              bytesWritten: Long,
              contentLength: Long,
              done: Boolean,
            ) {
              if (done) {
                println("completed")
              } else {
                if (firstUpdate) {
                  firstUpdate = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            @CsvSource({ "0, 0, 1024", "1024, 2048, 4096", "9223372036854775807, 9223372036854775807, 2147483647", // Max long values
                    "-1, -1, -1", // Negative values (should still create instance)
                    "0, 9223372036854775807, 0" // Edge cases
            })
            void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) {
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Arrange
            Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID");
            f.setAccessible(true);
    
            // Act
            long value = (long) f.get(null);
    
            // Assert
            assertEquals(2283323396289696982L, value, "serialVersionUID should be stable");
        }
    
        // Behavior check: toString contains class name and message when present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * This method delegates to {@link FileInputStream#skip(long)}.
         *
         * @param n the number of bytes to be skipped
         * @return the actual number of bytes skipped
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public long skip(final long n) throws IOException {
            return fileInputStream.skip(n);
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Then
                assertEquals(32, bytesConsumed);
                // Note: multiplication may overflow, but that's expected behavior
                long expectedCapacity = Long.MAX_VALUE * (long) Integer.MAX_VALUE * (long) Integer.MAX_VALUE;
                assertEquals(expectedCapacity, fileFsFullSizeInfo.getCapacity());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

         * @return the time value in milliseconds since January 1, 1970 UTC
         */
        public static long readTime(final byte[] src, final int srcIndex) {
            final int low = readInt4(src, srcIndex);
            final int hi = readInt4(src, srcIndex + 4);
            long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top