Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 966 for 1bytes (3.41 sec)

  1. schema/field_test.go

    		{Name: "TIME", DBName: "ftime", BindNames: []string{"TIME"}, DataType: schema.Time, Creatable: true, Updatable: true, Readable: true, Tag: `gorm:"column:ftime"`},
    		{Name: "BYTES", DBName: "fbytes", BindNames: []string{"BYTES"}, DataType: schema.Bytes, Creatable: true, Updatable: true, Readable: true, Tag: `gorm:"column:fbytes"`},
    	}
    
    	for _, f := range fields {
    		checkSchemaField(t, alias, f, func(f *schema.Field) {})
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

                    bytes[byteIndex++] = (byte) (0xC0 | (c >> 6));
                    bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F));
                } else {
                    bytes[byteIndex++] = (byte) (0xE0 | (c >> 12));
                    bytes[byteIndex++] = (byte) (0x80 | ((c >> 6) & 0x3F));
                    bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F));
                }
            }
    
            return Arrays.copyOf(bytes, byteIndex);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify total data count (4 bytes at position 7)
            assertEquals(200, SMBUtil.readInt4(dst, 7));
    
            // Verify max parameter count (4 bytes at position 11)
            assertEquals(1024, SMBUtil.readInt4(dst, 11));
    
            // Verify max data count (4 bytes at position 15)
            assertEquals(2048, SMBUtil.readInt4(dst, 15));
    
            // Verify parameter count (4 bytes at position 19)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

         * The header format is:
         * - Byte 0: Message type (0x00 for SESSION_MESSAGE)
         * - Byte 1: High bit of 17-bit length field
         * - Bytes 2-3: Lower 16 bits of length field
         */
        private static byte[] messageHeader(int length) {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            h[1] = (byte) ((length >> 16) & 0x01);
            h[2] = (byte) ((length >> 8) & 0xFF);
    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. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        // Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31.
        if (tag < 31) {
          val byte0 = tagClass or constructedBit or tag.toInt()
          sink.writeByte(byte0)
        } else {
          val byte0 = tagClass or constructedBit or 0b0001_1111
          sink.writeByte(byte0)
          writeVariableLengthLong(tag)
        }
    
        // Write the length. This takes 1 byte if length is less than 128.
        val length = content.size
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] testContext =
                        new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
                message.setContext(testContext);
    
                // When
                byte[] bytes = message.toByteArray();
    
                // Then
                assertNotNull(bytes);
                // Verify challenge
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test with negative byte values
            byte[] data2 = { (byte) 0xFF, (byte) 0xFE, (byte) 0x80, 0x7F };
            assertEquals("FF", Hexdump.toHexString(data2, 0, 2)); // 2 chars = 1 byte
            assertEquals("FFF", Hexdump.toHexString(data2, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
            assertEquals("FFFE", Hexdump.toHexString(data2, 0, 4)); // 4 chars = 2 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    
            // SMB3 capabilities
            int testCapabilities = 0x0000002F; // DFS, LEASING, LARGE_MTU, MULTI_CHANNEL, PERSISTENT_HANDLES, DIRECTORY_LEASING
    
            // Random but realistic GUID
            byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/StringsTest.java

            @Test
            @DisplayName("fromUNIBytes should decode UTF-16LE bytes to string")
            void testFromUNIBytes() {
                // Given
                byte[] bytes = TEST_STRING.getBytes(StandardCharsets.UTF_16LE);
    
                // When
                String result = Strings.fromUNIBytes(bytes, 0, bytes.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacDataInputStream.java

            final byte[] bytes = new byte[4];
            readFully(bytes);
    
            final byte[] sidBytes = new byte[8 + bytes.length];
            sidBytes[0] = 1;
            sidBytes[1] = (byte) (bytes.length / 4);
            System.arraycopy(new byte[] { 0, 0, 0, 0, 0, 5 }, 0, sidBytes, 2, 6);
            System.arraycopy(bytes, 0, sidBytes, 8, bytes.length);
    
            return new SID(sidBytes, 0);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top