Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 130 for Reconstruct (0.17 seconds)

  1. guava/src/com/google/common/escape/CharEscaperBuilder.java

        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
      /** Add a new mapping from an index to an object to the escaping. */
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)");
      }
    
      public void testNulls() {
        /*
         * Don't bother testing. All non-primitive parameters are used only to construct error messages.
         * We never want to pass null for them, so we haven't annotated them to say that null is
         * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
        construct: (List<*>) -> T,
      ): BasicDerAdapter<T> {
        val codec =
          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  4. cmd/signature-v4.go

    		return ErrExpiredPresignRequest
    	}
    
    	// Save the date and expires.
    	t := pSignValues.Date
    	expireSeconds := int(pSignValues.Expires / time.Second)
    
    	// Construct new query.
    	query := make(url.Values)
    	clntHashedPayload := req.Form.Get(xhttp.AmzContentSha256)
    	if clntHashedPayload != "" {
    		query.Set(xhttp.AmzContentSha256, hashedPayload)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
        void testConstructionWithValidConfiguration() {
            assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig));
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/SparseImmutableTable.java

          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    @NullUnmarked
    public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase {
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

          .isSameAs(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5)
      }
    
      /**
       * Tests that interned CipherSuite instances remain the case across garbage collections, even if
       * the String used to construct them is no longer strongly referenced outside of the CipherSuite.
       */
      @Test
      fun instancesAreInterned_survivesGarbageCollection() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     *
     * <p>To force selection of our fallback strategies, we load {@link AbstractFuture} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal
     * AbstractFutureTest test methods in these degenerate classloaders.
     */
    
    @NullUnmarked
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockCredentials);
        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
Back to Top