Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 2,690 for nize (0.02 seconds)

  1. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      @Override
      public int size() {
        long sum = 0L;
        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * We override the toArray methods for two reasons:
       *
       * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
       *     must be at least 4
       */
      protected AbstractStreamingHasher(int chunkSize) {
        this(chunkSize, chunkSize);
      }
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        return forward.lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forward.firstEntry();
      }
    
      @Override
      public int size() {
        return forward.size();
      }
    
      @Override
      public ImmutableSortedSet<E> elementSet() {
        return forward.elementSet().descendingSet();
      }
    
      @Override
      Entry<E> getEntry(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

            dstIndex += 4;
            dstIndex += 4; // reserved
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 24;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

                dstIndex += chk.encode(dst, dstIndex);
            }
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size() {
            return 32 + this.chunks.length * 24;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. tests/test_custom_middleware_exception.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    class ContentSizeLimitMiddleware:
        """Content size limiting middleware for ASGI applications
        Args:
          app (ASGI application): ASGI application
          max_content_size (optional): the maximum content size allowed in bytes, None for no limit
        """
    
        def __init__(self, app: APIRouter, max_content_size: int | None = None):
            self.app = app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
         * Gets the maximum transaction size supported by the server.
         *
         * @return the maxTransactSize
         */
        public int getMaxTransactSize() {
            return this.maxTransactSize;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            try {
                final PutObjectRequest request =
                        PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build();
                s3Client.putObject(request, RequestBody.fromInputStream(inputStream, size));
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                    // Verify all searches completed and returned results
                    assertEquals(numSearchThreads, allResults.size());
                    for (List<Map<String, Object>> results : allResults) {
                        assertEquals(10, results.size());
                    }
    
                } finally {
                    executor.shutdown();
                    executor.awaitTermination(5, TimeUnit.SECONDS);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, callback);
            thread.start();
            thread.join(1000);
    
            assertEquals(2, callbackResults.size());
            assertEquals("callback1", callbackResults.get(0));
            assertEquals("callback2", callbackResults.get(1));
        }
    
        @Test
        public void test_run_bufferSizeLimit() throws InterruptedException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top