Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 418 for large (0.02 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	"internal/godebug"
    	"io/fs"
    	"maps"
    	"math"
    	"path"
    	"reflect"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // BUG: Use of the Uid and Gid fields in Header could overflow on 32-bit
    // architectures. If a large value is encountered when decoding, the result
    // stored in Header will be the truncated version.
    
    var tarinsecurepath = godebug.New("tarinsecurepath")
    
    var (
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Should throw IOException for unexpected EOF
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Large message is read correctly")
        void largeMessageIsReadCorrectly() throws IOException {
            // Create a message with 1000 bytes
            int size = 1000;
            byte[] data = new byte[size];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify data offset should be 0 when data count is 0
            assertEquals(0, SMBUtil.readInt4(dst, 31));
        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat with large buffer offset")
        void testWriteParameterWordsWireFormatLargeOffset() {
            byte[] dst = new byte[512];
            int startOffset = 100;
    
            // Set up transaction parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, new int[] { 1, 2 });
                byte[] smallBuffer = new byte[100]; // Make buffer large enough
                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. README.md

    ```java
    // Configure memory usage
    crawler.crawlerContext.setMaxAccessCount(10000);     // Limit crawled URLs
    crawler.crawlerContext.setMaxDepth(5);               // Limit crawl depth
    
    // Use streaming for large files
    container.singleton("fileTransformer", FileTransformer.class, transformer -> {
        transformer.setMaxContentSize(10 * 1024 * 1024); // 10MB limit
    });
    ```
    
    ## Troubleshooting
    
    ### Common Issues
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMaker.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            String json2 = result2.toString().replaceAll("[\\s\\n]", "");
            assertEquals(json1, json2);
        }
    
        public void test_execute_withVeryLargeBoost() {
            // Test execute method with very large boost value
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = Float.MAX_VALUE;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Strings.java

        int len = string.length();
        long longSize = (long) len * (long) count;
        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top