Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 674 for maximal (0.04 seconds)

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

      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMaxChar = 0;
        } else {
          // The safe range is non-empty and contains values below the surrogate
          // range but may extend above it. We may need to clip the maximum value.
          this.safeMinChar = (char) safeMin;
          this.safeMaxChar = (char) min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/request-files.md

    Using `UploadFile` has several advantages over `bytes`:
    
    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
        * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk.
    * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(0, response.getEndOfFile());
                assertEquals(0, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("Should handle maximum values correctly")
            void testReadBytesWireFormatWithMaxValues() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Set buffer offset
            SMBUtil.writeInt2(20, buffer, bufferIndex + 2);
            // Set buffer length (minimal SecurityDescriptor)
            SMBUtil.writeInt4(20, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(0);
    
            // Write minimal SecurityDescriptor header (20 bytes)
            buffer[20] = 1; // Revision
            buffer[21] = 0; // Sbz1
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with maximum length server name")
        void testReadDataWireFormatMaxLengthServerName() throws Exception {
            setConverter(response, 0);
            setNumEntries(response, 1);
    
            // Create a 15-character server name (maximum for NetBIOS name)
            String serverName = "SERVERNAME12345"; // 15 characters
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        private val ONLY_HTTP1 = listOf(Protocol.HTTP_1_1)
    
        /**
         * The maximum number of bytes to enqueue. Rather than enqueueing beyond this limit we tear down
         * the web socket! It's possible that we're writing faster than the peer can read.
         */
        private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB.
    
        /**
         * The maximum amount of time after the client calls [close] to wait for a graceful shutdown. If
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            String writtenPath = readStringFromBuffer(buffer, 12, written - 12);
            assertEquals("\\test\\path with spaces\\*.txt", writtenPath);
        }
    
        @Test
        @DisplayName("Test with maximum values")
        void testWithMaximumValues() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0xFFFF, 65535, Integer.MAX_VALUE);
    
            byte[] buffer = new byte[256];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd);
                double timingRatio = (maxTime - minTime) / maxTime;
    
                // Timing differences should be minimal (within tolerance)
                assertTrue(timingRatio < TIMING_TOLERANCE,
                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Assert
            assertEquals(0, bytesWritten); // Should return 0 as buffer is insufficient
        }
    
        @Test
        @DisplayName("Test with maximum offset boundary")
        void testMaxOffsetBoundary() {
            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top