- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 939 for Valid1 (0.06 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (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. {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
|| validSurrogatePairAt(b, b.length() - s - 1)) { s--; } return a.subSequence(a.length() - s, a.length()).toString(); } /** * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}. * Out-of-range indexes return false. */ @VisibleForTesting static boolean validSurrogatePairAt(CharSequence string, int index) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMaker.java
* ConcurrentMap<Request, Stopwatch> timers = new MapMaker() * .concurrencyLevel(4) * .weakKeys() * .makeMap(); * } * * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent * map that behaves similarly to a {@link ConcurrentHashMap}. * * <p>The returned map is implemented as a hash table with similar performance characteristics to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/path-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
} @Internal Set<File> getShaFiles() { File[] array = licensesDir.listFiles(); if (array == null) { throw new GradleException("\"" + licensesDir.getPath() + "\" isn't a valid directory"); } return Arrays.stream(array).filter(file -> file.getName().endsWith(SHA_EXTENSION)).collect(Collectors.toSet()); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
if (sae.getNtStatus() == NtStatus.NT_STATUS_ACCESS_VIOLATION) { /* * Server challenge no longer valid for * externally supplied password hashes. */ final HttpSession ssn = req.getSession(false); if (ssn != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
log.warn("Invalid SMB protocol ID: 0x{}", Integer.toHexString(protocolId)); throw new SmbException("Invalid SMB protocol identifier"); } // Validate command is in valid range if (command < 0 || command > 255) { failedValidations.incrementAndGet(); throw new SmbException("Invalid command code: " + command); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertNotNull(result); assertTrue(result instanceof MatchAllQueryBuilder); } @Test public void test_constructor() { // Test that constructor creates a valid instance MatchAllQueryCommand command = new MatchAllQueryCommand(); assertNotNull(command); } @Test public void test_execute_logOutput() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0)