Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for 32 (0.01 sec)

  1. internal/crypto/key_test.go

    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{ExtKey: [32]byte{}, Random: nil, ShouldPass: true},              // 0
    	{ExtKey: [32]byte{}, Random: rand.Reader, ShouldPass: true},      // 1
    	{ExtKey: [32]byte{}, Random: shortRandom(32), ShouldPass: true},  // 2
    	{ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            // Verify machineId part (should be truncated)
            byte[] expectedMachineId = new byte[32];
            for (int i = 0; i < 32; i++) {
                expectedMachineId[i] = (byte) i;
            }
            byte[] actualMachineId = new byte[32];
            System.arraycopy(value, 16, actualMachineId, 0, 32);
            assertArrayEquals(expectedMachineId, actualMachineId);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm.s

    	MOVHU.W	R3, 0x20(R4)         // MOVHU.W R3, 32(R4)        // b032e4e1
    	MOVHU.P	R3, 0x20(R4)         // MOVHU.P R3, 32(R4)        // b032c4e0
    	MOVH	R3, -0x20(R4)        // MOVH R3, -32(R4)          // b03244e1
    	MOVH.W	R3, -0x20(R4)        // MOVH.W R3, -32(R4)        // b03264e1
    	MOVH.P	R3, -0x20(R4)        // MOVH.P R3, -32(R4)        // b03244e0
    	MOVHS	R3, -0x20(R4)        // MOVHS R3, -32(R4)         // b03244e1
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  4. cmd/encryption-v1_test.go

    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-738"},
    		ETag:       "916516b396f0f4d4f2a0e7177557bec4-738",
    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-Q"},
    		ETag:       "",
    		ShouldFail: true, // Q is not a number
    	},
    	{
    		ObjectKey:  [32]byte{},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  5. internal/crypto/key.go

    // It must never be stored in plaintext.
    type ObjectKey [32]byte
    
    // GenerateKey generates a unique ObjectKey from a 256 bit external key
    // and a source of randomness. If random is nil the default PRNG of the
    // system (crypto/rand) is used.
    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	VSLLVI		$32, V2, V3			// ERROR "unsigned immediate 32 must be in range [0, 31]"
    	VSLLVI		$-1, V2, V3			// ERROR "unsigned immediate -1 must be in range [0, 31]"
    	VSRLVV		X10, V2, V3			// ERROR "expected vector register in vs1 position"
    	VSRLVX		V1, V2, V3			// ERROR "expected integer register in rs1 position"
    	VSRLVI		$32, V2, V3			// ERROR "unsigned immediate 32 must be in range [0, 31]"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 42.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                bb.putLong(5000L);
                bb.putLong(2500L);
                bb.putLong(2500L);
                bb.putInt(16);
                bb.putInt(1024);
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(buffer, offset, 32);
    
                // Then
                assertEquals(32, bytesConsumed);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(32, bytesWritten);
    
            // Verify structure size (32)
            assertEquals(32, SMBUtil.readInt2(buffer, offset));
    
            // Verify notify flags
            assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. internal/grid/msg.go

    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    	if m.Flags&FlagSubroute != 0 {
    		if len(h) < 32 {
    			return nil, nil, fmt.Errorf("want subroute len 32, got %v", len(h))
    		}
    		subID := (*[32]byte)(h[len(h)-32:])
    		sub = (*subHandlerID)(subID)
    		// Add if more modifications to h is needed
    		h = h[:len(h)-32]
    	}
    	return sub, h, nil
    }
    
    // setZeroPayloadFlag will clear or set the FlagPayloadIsZero if
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

            // Given
            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Should contain hex representation of first bytes
            assertTrue(result.startsWith("00010203"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top