Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for minimatch (0.22 sec)

  1. src/test/java/jcifs/smb/WinErrorTest.java

            assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");
            assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch");
    
            // Exact content check to guard against accidental reordering or drift
            assertArrayEquals(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i);
            }
            assertEquals((byte) 0x00, dst[12 + nameBytes.length], "Filename must be null-terminated");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top