Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 961 for dsbyte (0.06 seconds)

  1. internal/crypto/key_test.go

    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    		UnsealExtKey: [32]byte{}, UnsealDomain: "SSE-C", UnsealBucket: "bucket", UnsealObject: "object",
    		ShouldPass: true,
    	}, // 0
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final byte TRANS2_FIND_FIRST2 = (byte) 0x01;
        static final byte TRANS2_FIND_NEXT2 = (byte) 0x02;
        static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        static final int NET_SHARE_ENUM = 0x0000;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0 B", format.format(0L, ScaleUnit.BYTE));
            assertEquals("0 kB", format.format(0L, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(0L, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(0L, ScaleUnit.GIGABYTE));
    
            assertEquals("5 B", format.format(5L));
            assertEquals("5 B", format.format(5L, ScaleUnit.BYTE));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

    /**
     * An implementation of {@link DataOutput} that uses little-endian byte ordering for writing {@code
     * char}, {@code short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
     * DataOutput}, which explicitly requires big-endian byte order.
     *
     * @author Chris Nokleberg
     * @author Keith Bottner
     * @since 8.0
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
    
            try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
            void nonNullArray(int index) {
                byte[] arr = new byte[10];
                assertEquals(0, response.writeParameterWordsWireFormat(arr, index));
            }
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
        class WriteBytes {
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        }
    
        // Test constructor with external hashes
        @Test
        void testConstructorWithExternalHashes() {
            byte[] challenge = new byte[8];
            byte[] ansiHash = new byte[24];
            byte[] unicodeHash = new byte[24];
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", challenge, ansiHash, unicodeHash);
            assertEquals("DOMAIN", auth.getDomain());
    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)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

                    Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F }));
        }
    
        @ParameterizedTest
        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
            assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
            assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
            assertEquals((byte) 0xA2, encoded[2], "First byte of second character");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            final byte[] utf8Decoded = Base64Util.decode(utf8Encoded);
            assertEquals("Round trip should preserve UTF-8 data", utf8Text, new String(utf8Decoded, "UTF-8"));
    
            // Test with binary data
            final byte[] binaryData = new byte[] { 0, 1, 2, 3, 127, (byte) 128, (byte) 255 };
            final String binaryEncoded = Base64Util.encode(binaryData);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top