Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 148 for Mismatch (0.04 sec)

  1. cmd/bitrot.go

    			hash.Write(msg)
    			sum = hash.Sum(sum[:0])
    			msg = append(msg, sum...)
    			hash.Reset()
    		}
    		if !bytes.Equal(sum, checksum) {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: %v selftest checksum mismatch: got %x - want %x", algorithm, sum, checksum))
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/ASN1Util.java

         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
        public static byte[] readUnparsedTagged(final int expectTag, final int limit, final ASN1InputStream in) throws IOException {
            final int ftag = in.read();
            final int tag = readTagNumber(in, ftag);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Test case to induce a signature mismatch.
    		// Using invalid accessID.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			accessKey:          "Invalid-AccessID",
    			secretKey:          credentials.SecretKey,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  4. docs/debugging/s3-verify/main.go

    	sobj.Close()
    	tobj.Close()
    
    	if !sourceFailed && !targetFailed {
    		ssum := srcSha256.Sum(nil)
    		tsum := tgtSha256.Sum(nil)
    		allgood = bytes.Equal(ssum, tsum)
    		if !allgood {
    			fmt.Printf("sha256 sum mismatch: %s -> Expected(%x), Found(%x)\n", srcCtnt.Key, ssum, tsum)
    		}
    	}
    
    	return allgood
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertEquals(1, od.getChunksWritten());
            assertEquals(2, od.getChunkBytesWritten());
            assertEquals(3, od.getTotalBytesWritten());
    
            // Type mismatch should raise SmbException
            assertThrows(SmbException.class, () -> resp.getOutputData(SrvRequestResumeKeyResponse.class));
        }
    
        @Test
        void decodesPipePeekOnBufferOverflowStatus() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] actualData = response.getData();
            assertEquals(16, actualData.length);
            for (int i = 0; i < 16; i++) {
                assertEquals(expectedData[i], actualData[i], "Data mismatch at index " + i);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                int result = testRequest.encode(buffer, 0);
    
                assertEquals(64, result);
            }
    
            @Test
            @DisplayName("encode should throw exception when size mismatch")
            void testEncodeSizeMismatch() {
                byte[] buffer = new byte[1024];
                testRequest.setTestSize(64);
                testRequest.setTestLength(128);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket"));
        }
    
        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                // Validate key length matches expected cipher requirements
                if (keyCopy.length != keyLength) {
                    throw new IllegalArgumentException("Key length mismatch: expected " + keyLength + ", got " + keyCopy.length);
                }
    
                // Create cipher with the copy - algorithm is just "AES" for SecretKeySpec
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    				// Erasure distribution seems to have lesser
    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    				// Mismatch indexes with distribution order
    				inconsistent++
    			}
    		}
    	}
    
    	erasureDistributionReliable := inconsistent <= len(partsMetadata)/2
    
    	metaErrs := make([]error, len(errs))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top