- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 577 for original2 (0.05 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
*/ @ParameterizedTest @ValueSource(ints = { 0, 42, 255, -1, 128 }) void encodeDecodeRoundTrip(int original) throws Exception { // The constructor masks to 0xFF (8 bits) int expected = original & 0xFF; NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
// Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test public void testPasswordConstructorWithCharArray() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java
String ROLE = ArtifactTransformationManager.class.getName(); /** * Take in an artifact and return the transformed artifact for locating in the remote repository. If no * transformation has occurred the original artifact is returned. * * @param artifact Artifact to be transformed. * @param request the repositories to check */ void transformForResolve(Artifact artifact, RepositoryRequest request)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
assertSame(Ordering.natural(), copy.comparator()); } public void testCopyOf() { Map<String, Integer> original = new LinkedHashMap<>(); original.put("one", 1); original.put("two", 2); original.put("three", 3); ImmutableSortedMap<String, Integer> copy = ImmutableSortedMap.copyOf(original); assertMapEquals(copy, "one", 1, "three", 3, "two", 2); assertSame(copy, ImmutableSortedMap.copyOf(copy));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
static <E> Set<E> reserializeAndAssertLenient(Set<E> original) { Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator original = new NtlmPasswordAuthenticator("DOMAIN", "testuser", testPassword); NtlmPasswordAuthenticator cloned = original.clone(); // Verify cloned values assertEquals(original.getUserDomain(), cloned.getUserDomain()); assertEquals(original.getUsername(), cloned.getUsername()); assertEquals(original.getPassword(), cloned.getPassword());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
SmbOperationException original = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout"); original.withContext("attempt", 1); // When SmbOperationException retry = SmbOperationException.forRetry(original, 2); // Then assertEquals(original.getErrorCode(), retry.getErrorCode()); assertEquals(original.getMessage(), retry.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
} return result; } /** * Quote and escape input value for CSV * * @param original Original text. * @return Escaped text. */ public static String quoteEscape(final String original) { String result = original; if (result.indexOf('\"') >= 0) { result = result.replace("\"", ESCAPED_QUOTE); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
try { String result = SystemUtil.getSearchEngineHttpAddress(); assertNull(result); } finally { // Restore original value if it existed if (originalValue != null) { System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, originalValue); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
? ((TransposeTable<R, C, V>) table).original : new TransposeTable<C, R, V>(table); } private static final class TransposeTable< C extends @Nullable Object, R extends @Nullable Object, V extends @Nullable Object> extends AbstractTable<C, R, V> { final Table<R, C, V> original; TransposeTable(Table<R, C, V> original) { this.original = checkNotNull(original); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 24.9K bytes - Viewed (0)