Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 859 for 1bytes (0.05 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

    class ConfiguredPublicSuffixDatabaseTest {
      private val list = ConfiguredPublicSuffixList()
      private val publicSuffixDatabase = PublicSuffixDatabase(list)
    
      @Test fun longestMatchWins() {
        list.bytes =
          Buffer()
            .writeUtf8("com\n")
            .writeUtf8("my.square.com\n")
            .writeUtf8("square.com\n")
            .readByteString()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                byte[] buffer = new byte[64];
    
                // Structure with specific values in reserved fields
                SMBUtil.writeInt2(24, buffer, 0);
                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
                // Reserved2 field (4 bytes at offset 4)
                buffer[4] = (byte) 0xBB;
                buffer[5] = (byte) 0xCC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testReadSecurityBuffer() {
            // Test readSecurityBuffer
            byte[] data = new byte[20];
            byte[] content = "Hello".getBytes();
    
            // Simulate a security buffer structure: length (2 bytes), length (2 bytes), offset (4 bytes)
            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         */
        public Object fromBinaryToObject(final byte[] bytes) {
            final String serializer = getSerializerType();
            return switch (serializer) {
            case KRYO -> deserializeWithKryo(bytes);
            case JAVABIN -> SerializeUtil.fromBinaryToObject(bytes);
            default -> throw new IllegalArgumentException("Unexpected value: " + serializer);
            };
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-process.go

    	processIOReadBytesMD              = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/debugging/inspect/export.go

    func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, e error) {
    	if len(buf) <= 8 {
    		return payload, 0, 0, fmt.Errorf("xlMeta: no data")
    	}
    
    	if !bytes.Equal(buf[:4], xlHeader[:]) {
    		return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4])
    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. cmd/bucket-metadata.go

    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Encrypt first message - should work
            byte[] plaintext1 = "Message before rotation".getBytes();
            byte[] encrypted1 = assertDoesNotThrow(() -> context.encryptMessage(plaintext1, 1L));
            assertNotNull(encrypted1);
    
            // Encrypt larger message to trigger rotation
            byte[] largeMessage = new byte[150]; // Exceed 100 byte limit
            Arrays.fill(largeMessage, (byte) 'A');
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            byte[] dst = new byte[100];
    
            int bytesWritten = notifyChange.writeSetupWireFormat(dst, 10);
    
            // Verify structure:
            // Offset 0-3: Completion Filter (4 bytes)
            // Offset 4-5: FID (2 bytes)
            // Offset 6: Watch Tree (1 byte)
            // Offset 7: Reserved (1 byte)
            assertEquals(8, bytesWritten);
    
            // Check completion filter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

      }
    
      // Serialization helpers
    
      /** The size of byte array representation in bytes. */
      static final int BYTES = (Long.SIZE + Double.SIZE * 4) / Byte.SIZE;
    
      /**
       * Gets a byte array representation of this instance.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
       * versions.
       */
      public byte[] toByteArray() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top