Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 338 for unsigned (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        }
    
        @Test
        void testMaximumFileSize() {
            // Test with maximum unsigned 32-bit file size
            // Note: fileSize is stored as signed int in SmbComQueryInformationResponse
            // 0xFFFFFFFF becomes -1 when interpreted as signed int
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
            setFieldValue(response, "wordCount", 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVW	$1, X5				// ERROR "unsupported constant load"
    	MOVF	$1, X5				// ERROR "unsupported constant load"
    	MOVBU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVHU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVWU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVF	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOVD	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOV	X10, X11, X12			// ERROR "illegal MOV instruction"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 08 08:53:43 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(123456789, serverData.sessionKey);
            assertEquals(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS, serverData.capabilities);
            // readInt2 returns unsigned value, so -480 becomes 65056
            assertEquals(65056, serverData.serverTimeZone);
            assertEquals(8, serverData.encryptionKeyLength);
        }
    
        @Test
        void testReadParameterWordsWireFormat_InvalidDialect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. cmd/signature-v4_test.go

    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "",
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (9) Should error with unsigned headers.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":       signV4Algorithm,
    				"X-Amz-Date":            now.Format(iso8601Format),
    				"X-Amz-Expires":         "60",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

              end++
            }
            val publicSuffixLength = mid + end - mid
    
            // Compare the bytes. Note that the file stores UTF-8 encoded bytes, so we must compare the
            // unsigned bytes.
            var compareResult: Int
            var currentLabelIndex = labelIndex
            var currentLabelByteIndex = 0
            var publicSuffixByteIndex = 0
    
            var expectDot = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>This is designed for generating persistent fingerprints of strings. It isn't
       * cryptographically secure, but it produces a high-quality hash with few collisions. Fingerprints
       * generated using this are byte-wise identical to those created using the C++ version, but note
       * that this uses unsigned integers (see {@link com.google.common.primitives.UnsignedInts}).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatNegativeStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to -1 (0xFFFF when read as unsigned)
            SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

            public byte[] calculateMIC(byte[] data) throws CIFSException {
                if (data == null) {
                    throw new CIFSException("data is null");
                }
                // Trivial MIC: 1-byte sum of all unsigned bytes
                int sum = 0;
                for (byte b : data) {
                    sum = (sum + (b & 0xFF)) & 0xFF;
                }
                return new byte[] { (byte) sum };
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arch.go

    	instructions["JGE"] = x86.AJGE  /* greater than or equal (signed) (SF = OF) */
    	instructions["JGT"] = x86.AJGT  /* greater than (signed) (ZF = 0 && SF = OF) */
    	instructions["JHI"] = x86.AJHI  /* higher (unsigned) (CF = 0 && ZF = 0) */
    	instructions["JHS"] = x86.AJCC  /* alternate */
    	instructions["JL"] = x86.AJLT   /* alternate */
    	instructions["JLE"] = x86.AJLE  /* less than or equal (signed) (ZF = 1 || SF != OF) */
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        class SignatureTests {
    
            @Test
            @DisplayName("Should detect signed packet")
            void testIsSigned() {
                response.setFlagsForTest(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(response.isSigned());
            }
    
            @Test
            @DisplayName("Should detect unsigned packet")
            void testIsNotSigned() {
                response.setFlagsForTest(0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top