Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 2,388 for Hong (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            });
        }
    
        @Test
        void testLength() throws SmbException {
            long expectedLength = 1024L;
            when(smbFile.length()).thenReturn(expectedLength);
    
            assertEquals(expectedLength, smbRandomAccessFile.length());
        }
    
        @Test
        void testSetLength() throws SmbException {
            long newLength = 2048L;
            smbRandomAccessFile.setLength(newLength);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       *     less than {@link Integer#MIN_VALUE}
       */
      public static int checkedCast(long value) {
        int result = (int) value;
        checkArgument(result == value, "Out of range: %s", value);
        return result;
      }
    
      /**
       * Returns the {@code int} nearest in value to {@code value}.
       *
       * @param value any {@code long} value
       * @return the same value cast to {@code int} if it is in the range of the {@code int} type,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
        private long createTime;
        private long lastModified;
        private int attributes;
        private long attrExpiration;
        private long size;
        private long sizeExpiration;
        private boolean isExists;
        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            if (closed) {
                return;
            }
    
            long now = System.currentTimeMillis();
            java.util.List<String> sessionsToRotate = new java.util.ArrayList<>();
    
            // Find expired keys
            for (Map.Entry<String, Long> entry : keyCreationTimes.entrySet()) {
                String sessionId = entry.getKey();
                Long creationTime = entry.getValue();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/CountingOutputStream.java

      private long count;
    
      /**
       * Wraps another output stream, counting the number of bytes written.
       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Retrieves a setting value as a long.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
         * @return The setting value as a long.
         */
        public long getAsLong(final String key, final long defaultValue) {
            return getAs(key, defaultValue, Long::parseLong);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this access token was created.
         * Stored as a long value representing milliseconds since epoch.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creation.
         * Sets the CRUD mode to CREATE and populates created by and created time fields
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            long contentLength = event.getTransferredBytes();
            FileSizeFormat format = new FileSizeFormat();
    
            MessageBuilder message = messageBuilderFactory.builder();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      }
    
      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
                        Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}),
                        (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top