Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,102 for original (0.05 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionTest.java

    /**
     */
    class DefaultMavenExecutionTest {
        @Test
        void testCopyDefault() {
            MavenExecutionRequest original = new DefaultMavenExecutionRequest();
            MavenExecutionRequest copy = DefaultMavenExecutionRequest.copy(original);
            assertNotNull(copy);
            assertNotSame(copy, original);
        }
    
        @Test
        void testResultWithNullTopologicallySortedProjectsIsEmptyList() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

            .plus(Integer::class, 5 as Integer)
        assertThat(tags[String::class]).isEqualTo("hello")
        assertThat(tags[Integer::class]).isEqualTo(5)
      }
    
      /** The implementation retains no nodes from the original linked list. */
      @Test
      fun replaceFirstElement() {
        val tags =
          EmptyTags
            .plus(String::class, "a")
            .plus(Integer::class, 5 as Integer)
            .plus(Boolean::class, true)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

    private
    data class MappedApiFunctionParameter(
        val original: ApiFunctionParameter,
        val index: Int = original.index,
        val type: ApiTypeUsage = original.type,
        val isVarargs: Boolean = original.isVarargs,
        val asArgument: String = "${if (original.isVarargs) "*" else ""}`${original.name ?: "p$index"}`"
    ) {
        val name: String
            get() = original.name ?: "p$index"
    }
    
    
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param original the original exception
         * @param attemptNumber the current attempt number
         * @return new exception with updated attempt information
         */
        public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) {
            SmbOperationException retry = new SmbOperationException(original.errorCode, original.originalMessage, original.getCause(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ClIllegalStateException.java

         *            Message
         * @param cause
         *            The original exception
         */
        public ClIllegalStateException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClIllegalStateException}.
         *
         * @param cause
         *            The original exception
         */
        public ClIllegalStateException(final Throwable cause) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

    public class NdrHyperTest {
    
        /**
         * Tests a simple round‑trip encode → decode retains the original value.
         */
        @Test
        @DisplayName("Basic round‑trip for a fixed value")
        public void testEncodeRoundTrip() throws NdrException {
            final long original = 0x1122334455667788L;
            NdrHyper hyper = new NdrHyper(original);
            // Create buffer with extra space for alignment
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top