Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 2,388 for Long (0.07 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesWritten, long contentLength, boolean done) {
            if (done) {
              System.out.println("completed");
            } else {
              if (firstUpdate) {
                firstUpdate = false;
                if (contentLength == -1) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  2. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        @Test
        @DisplayName("Test getSize returns endOfFile value")
        void testGetSize() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 1024L;
            long expectedEndOfFile = 512L;
            int expectedNumberOfLinks = 3;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = false;
    
            // Encode test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

            private final long bufferOverflowsPrevented;
            private final long integerOverflowsPrevented;
    
            public ValidationStats(long totalValidations, long failedValidations, long bufferOverflowsPrevented,
                    long integerOverflowsPrevented) {
                this.totalValidations = totalValidations;
                this.failedValidations = failedValidations;
                this.bufferOverflowsPrevented = bufferOverflowsPrevented;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         */
        public long getRequestsSent() {
            return requestsSent.get();
        }
    
        /**
         * Get number of requests received
         *
         * @return requests received
         */
        public long getRequestsReceived() {
            return requestsReceived.get();
        }
    
        /**
         * Get number of errors
         *
         * @return error count
         */
        public long getErrors() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java

    @OutputTimeUnit(TimeUnit.NANOSECONDS)
    @OperationsPerInvocation(1_000_000)
    @State(Scope.Benchmark)
    public class LongKeyedBucketOrdsBenchmark {
        private static final long LIMIT = 1_000_000;
        /**
         * The number of distinct values to add to the buckets.
         */
        private static final long DISTINCT_VALUES = 210;
        /**
         * The number of buckets to create in the {@link #multiBucket} case.
         * <p>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Feb 19 20:59:23 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            return this.fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return convertTime(this.lastWriteTime);
        }
    
        /**
         * @param time
         * @return
         */
        private long convertTime(final long time) {
            return time + this.serverTimeZoneOffset;
        }
    
        @Override
        public long getLastWriteTime() {
            return convertTime(this.lastWriteTime);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

       * happens first. Returns the total number of bytes skipped.
       */
      static long skipUpTo(InputStream in, long n) throws IOException {
        long totalSkipped = 0;
        // A buffer is allocated if skipSafely does not skip any bytes.
        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/LongAdder.java

     */
    @GwtCompatible
    final class LongAdder extends Striped64 implements Serializable, LongAddable {
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

         */
        void assertCompletionNotExpected(long timeout) {
          Preconditions.checkArgument(timeout < expectedCompletionWaitMillis);
          assertAtLeastTimePassed(stopwatch, timeout);
          assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis);
        }
      }
    
      private static void assertAtLeastTimePassed(Stopwatch stopwatch, long expectedMillis) {
        long elapsedMillis = stopwatch.elapsed(MILLISECONDS);
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsPathMappingCQ.java

            return this;
        }
    
        public void setCreatedTime_Equal(Long createdTime) {
            setCreatedTime_Term(createdTime, null);
        }
    
        public void setCreatedTime_Equal(Long createdTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setCreatedTime_Term(createdTime, opLambda);
        }
    
        public void setCreatedTime_Term(Long createdTime) {
            setCreatedTime_Term(createdTime, null);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 72.1K bytes
    - Click Count (1)
Back to Top