- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 740 for valida (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } // Helper methods to create valid buffer data private byte[] createValidBuffer(String filename, String shortName, boolean unicode) { int filenameLength = unicode ? filename.length() * 2 : filename.length();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
// Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat with valid data") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[8]; int bufferIndex = 0; // status (2 bytes) SMBUtil.writeInt2(0, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
cmd/auth-handler_test.go
} } } // Test all s3 supported auth types. func TestS3SupportedAuthType(t *testing.T) { type testCase struct { authT authType pass bool } // List of all valid and invalid test cases. testCases := []testCase{ // Test 1 - supported s3 type anonymous. { authT: authTypeAnonymous, pass: true, }, // Test 2 - supported s3 type presigned. {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
} } @Nested @DisplayName("Header Decoding Tests") class HeaderDecodingTests { @Test @DisplayName("decode_header should successfully parse valid header") void testDecodeHeaderSuccess() throws NdrException { // Mock NdrBuffer methods for successful decoding when(mockBuffer.dec_ndr_small()).thenReturn(5)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertEquals(2, sis.read()); } @Test @DisplayName("Reading with null array throws NullPointerException") void readNullArrayThrowsException() { // Create stream with valid message header and data byte[] data = new byte[] { 1 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(1), data)); SocketInputStream sis = new SocketInputStream(in);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
expectedOffset int64 expectedErr error }{ {0, 0, 0, nil}, {1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil}, {1 + humanize.MiByte, 1, 0, nil}, {2 + humanize.MiByte, 1, 1, nil}, // Its valid for zero sized object. {-1, 0, -1, nil}, // Max fffset is always (size - 1). {(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte) - 1, 4, 1048582, nil}, // Error if offset is size.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
cmd/signature-v4.go
} // Check to see if Policy is signed correctly. func doesPolicySignatureMatch(formValues http.Header) (auth.Credentials, APIErrorCode) { // For SignV2 - Signature field will be valid if _, ok := formValues[xhttp.AmzSignatureV2]; ok { return doesPolicySignatureV2Match(formValues) } return doesPolicySignatureV4Match(formValues) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/archive/tar/format.go
func (b *block) toUSTAR() *headerUSTAR { return (*headerUSTAR)(b) } func (b *block) toSparse() sparseArray { return sparseArray(b[:]) } // getFormat checks that the block is a valid tar header based on the checksum. // It then attempts to guess the specific format based on magic values. // If the checksum fails, then FormatUnknown is returned. func (b *block) getFormat() Format { // Verify checksum.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
# # We can't test on the windows toolchains because they're using a legacy # toolchain format (or something) that specifies the toolchain directly instead # of as a "repository". They can't be valid on Linux because Linux can't do # anything with a Windows-only toolchain, and bazel errors if trying to build # that directory. @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Aug 06 20:43:08 UTC 2025 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
public EventBus() { this("default"); } /** * Creates a new EventBus with the given {@code identifier}. * * @param identifier a brief name for this bus, for logging purposes. Should be a valid Java * identifier. */ public EventBus(String identifier) { this( identifier, directExecutor(), Dispatcher.perThreadDispatchQueue(), LoggingHandler.INSTANCE); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0)