Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,121 for original (0.08 seconds)

  1. android/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;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base interface for service operation results in Maven. This interface defines the common contract
     * for operation results, providing access to the original request that generated this result.
     *
     * <p>Each result is linked to its originating {@link Request}, allowing for:
     * <ul>
     *   <li>Traceability between requests and their outcomes</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py

        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Number of HTML links does not match the number "
            "in the original document (7 vs 6)"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_markdown_links/test_mkd_links_number_mismatch.py

        assert "Error processing docs/lang/docs/doc.md" in result.output
        assert (
            "Number of markdown links does not match the number "
            "in the original document (7 vs 6)"
        ) in result.output
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_lt.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(multimap().keySet(), multimap().keys().elementSet());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysRemove() {
        int original = multimap().keys().remove(k0(), 1);
        assertEquals(max(original - 1, 0), multimap().get(k0()).size());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeysEntrySetIteratorRemove() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (1)
  7. src/bytes/example_test.go

    	// БРАТ
    }
    
    func ExampleToTitleSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToTitleSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToTitle : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToTitle : AHOJ VÝVOJÁRİ GOLANG
    }
    
    func ExampleToValidUTF8() {
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("abc"), []byte("\uFFFD")))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testConstructorWithMessageAndCause() {
            String message = "Test message with cause.";
            Throwable cause = new RuntimeException("Original cause.");
            DcerpcException exception = new DcerpcException(message, cause);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
            SmbException original = new SmbException("original");
            doThrow(original).when(trace).connect(loc);
    
            // Act & Assert
            SmbException ex = assertThrows(SmbException.class, () -> trace.connectWrapException(loc));
            assertSame(original, ex);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

          <K, V> ReferenceEntry<K, V> copyEntry(
              Segment<K, V> segment,
              ReferenceEntry<K, V> original,
              ReferenceEntry<K, V> newNext,
              K key) {
            ReferenceEntry<K, V> newEntry = super.copyEntry(segment, original, newNext, key);
            copyAccessEntry(original, newEntry);
            copyWriteEntry(original, newEntry);
            return newEntry;
          }
        },
        WEAK {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
Back to Top