Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 336 for LIMIT (0.03 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Reasonable upper limit (1TB)
            long maxSize = 1099511627776L;
            if (size > maxSize) {
                failedValidations.incrementAndGet();
                log.warn("File size exceeds reasonable limit: {} > {}", size, maxSize);
                throw new SmbException("File size exceeds limit: " + size);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. cmd/metacache-bucket_test.go

    	for i := range elements {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    			Separator:    slashSeparator,
    			Create:       true,
    		})
    	}
    	b.ReportAllocs()
    
    	for i := 0; b.Loop(); i++ {
    		bm.findCache(listPathOptions{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. gradlew

                warn "Could not query maximum file descriptor limit"
        esac
        case $MAX_FD in  #(
          '' | soft) :;; #(
          *)
            # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
            # shellcheck disable=SC2039,SC3045
            ulimit -n "$MAX_FD" ||
                warn "Could not set maximum file descriptor limit to $MAX_FD"
        esac
    fi
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.cycle;
    import static com.google.common.collect.Iterables.limit;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.Footprint;
    import com.google.caliper.api.VmOptions;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Make many attempts to trigger global rate limit
            for (int i = 1; i <= 20; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed");
            }
    
            // 21st attempt should be blocked by global rate limit
            assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

            int limit = pos + random.nextInt(value.length - pos + 1);
            for (PrimitiveSink sink : sinks) {
              ByteBuffer buffer = ByteBuffer.wrap(value);
              Java8Compatibility.position(buffer, pos);
              Java8Compatibility.limit(buffer, limit);
              sink.putBytes(buffer);
              assertEquals(limit, buffer.limit());
              assertEquals(limit, buffer.position());
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

       *
       * @param in the input stream to be wrapped
       * @param limit the maximum number of bytes to be read
       * @return a length-limited {@link InputStream}
       * @since 14.0 (since 1.0 as com.google.common.io.LimitInputStream)
       */
      @J2ktIncompatible
      public static InputStream limit(InputStream in, long limit) {
        return new LimitedInputStream(in, limit);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/PrimitiveSink.java

      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
       * to the limit when this method returns.
       *
       * @param bytes a byte buffer
       * @return this instance
       * @since 23.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceException.java

        }
    
        private String generateRecoveryHint() {
            switch (resourceType) {
            case FILE_HANDLE:
                return "Close unused file handles or increase the file handle limit";
            case CONNECTION:
                return "Close idle connections or increase the connection pool size";
            case MEMORY:
                return "Reduce buffer sizes or increase heap memory";
            case DISK_SPACE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    // When above the limit a cleanup will also be performed to remove any possible abandoned entries.
    func (d *dataUsageCache) forceCompact(limit int) {
    	if d == nil || len(d.Cache) <= limit {
    		return
    	}
    	top := hashPath(d.Info.Name).Key()
    	topE := d.find(top)
    	if topE == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top