- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 488 for original1 (0.05 sec)
-
src/test/java/jcifs/spnego/NegTokenTargTest.java
byte[] mic = new byte[] { 9, 9, 9 }; NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
for (long testValue : testValues) { // Create and encode FileEndOfFileInformation original = new FileEndOfFileInformation(testValue); byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode into new instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
String originalMessage = "Original error"; TransportException original = new TransportException(originalMessage); // Wrap in another exception TransportException wrapper = new TransportException("Wrapper", original); assertEquals("Wrapper", wrapper.getMessage()); assertEquals(original, wrapper.getRootCause());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
} private static final class BiMapPair<K, V> implements Serializable { final BiMap<K, V> forward; final BiMap<V, K> backward; BiMapPair(BiMap<K, V> original) { this.forward = original; this.backward = original.inverse(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Set<Object> original = ImmutableSet.of(new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original)); } public void testImmutableSortedSetCopyOfIterator() { // false positive: `new Object()` is not equal to `new Object()` @SuppressWarnings("DistinctVarargsChecker") Set<Object> original = ImmutableSet.of(new Object(), new Object());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
*/ @NullUnmarked public class SerializableTesterTest extends TestCase { public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertEquals(original, copy); assertNotSame(original, copy); } public void testClassWhichDoesNotImplementEquals() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransposeColumnTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js
Platform.stringIsNullOrEmpty = function(str) { return !str; }; /** * @param {?string} str * @return {string} Original str, if it is non-null. Otherwise empty string. */ Platform.nullToEmpty = function(str) { return str || ""; }; /** * @param {?string} str * @return {string} Original str, if it is non-empty. Otherwise null; */ Platform.emptyToNull = function(str) { return str || null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Mar 25 14:03:03 UTC 2020 - 527 bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java
String ROLE = ArtifactTransformation.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.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
this.maxRetries = maxRetries; this.retryDelay = retryDelay; } /** * Attempt to reconnect a handle * @param path the file path * @param cause the original exception that triggered reconnection * @return a future that completes with the reconnected handle info or fails */ public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (0)