Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 2,350 for Kong (0.02 seconds)

  1. android/guava/src/com/google/common/io/CharSequenceReader.java

        int charsToRead = min(len, remaining());
        for (int i = 0; i < charsToRead; i++) {
          cbuf[off + i] = seq.charAt(pos++);
        }
        return charsToRead;
      }
    
      @Override
      public synchronized long skip(long n) throws IOException {
        checkArgument(n >= 0, "n (%s) may not be negative", n);
        checkOpen();
        int charsToSkip = (int) min(remaining(), n); // safe because remaining is an int
        pos += charsToSkip;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  2. 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)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    Arguments.of(15000000000L, 15000000000L, "15 GB"));
        }
    
        @ParameterizedTest
        @MethodSource("progressedSizeWithSizeTestData")
        void testProgressedSizeWithSize(long progressedSize, long totalSize, String expected) {
            FileSizeFormat format = new FileSizeFormat();
            assertEquals(expected, format.formatProgress(progressedSize, totalSize));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/Configuration.java

         */
        long getPersistentHandleTimeout();
    
        /**
         * Gets the witness heartbeat timeout in milliseconds.
         *
         * @return the heartbeat timeout
         */
        long getWitnessHeartbeatTimeout();
    
        /**
         * Gets the witness registration timeout in milliseconds.
         *
         * @return the registration timeout
         */
        long getWitnessRegistrationTimeout();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

        /*
         * Padding from 40 into 64 bytes, same size as cache line. Might be beneficial to add a fourth
         * long here, to minimize chance of interference between consecutive locks, but I couldn't
         * observe any benefit from that.
         */
        long unused1;
        long unused2;
        long unused3;
    
        PaddedLock() {
          super(false);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         * @param asyncId
         *            The async ID for asynchronous operations (0 for synchronous)
         */
        public Smb2CancelRequest(final Configuration config, final long mid, final long asyncId) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if (asyncId != 0) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

     */
    public class Smb2LeaseBreakResponse extends ServerMessageBlock2Response {
    
        private int structureSize;
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private long leaseDuration;
    
        /**
         * Constructs an SMB2 lease break response with the given configuration.
         *
         * @param config the configuration for this response
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top