Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1451 - 1460 of 1,832 for context_ (0.06 seconds)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
            assertFalse(Arrays.equals(derived1, derived3), "Different contexts should produce different keys");
        }
    
        @Test
        public void testStoreNullKey() {
            assertThrows(IllegalArgumentException.class, () -> keyManager.storeSessionKey("session", null, "AES"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

            handshakeCertificates.sslSocketFactory(),
            handshakeCertificates.trustManager,
          ).build()
      }
    
      private fun buildServerSslSocketFactory(): SSLSocketFactory {
        // The test uses JDK default SSL Context instead of the Platform provided one
        // as Conscrypt seems to have some differences, we only want to test client side here.
        return try {
          val keyManager =
            newKeyManager(
              null,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
       * <p>{@code EqualsTester} will always check that every object it is given returns false from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ArrayListMultimap.java

       * MultimapBuilder.hashKeys().arrayListValues().build(multimap)}, which provides more control over
       * the underlying data structure.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEqualIgnoringOrder(asList(expected), asList(actual));
      }
    
      private void expectArrayContentsInOrder(List<E> expected, Object[] actual) {
        assertEquals("toArray() ordered contents: ", expected, asList(actual));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests
       * of {@link Arrays#asList(Object[])} can suppress it with {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

    import java.io.IOException
    import okhttp3.Headers
    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.trimSubstring
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Models the contents of a `Sec-WebSocket-Extensions` response header. OkHttp honors one extension
     * `permessage-deflate` and four parameters, `client_max_window_bits`, `client_no_context_takeover`,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/request-files.md

    - `close()`: ファイルを閉じます。
    
    これらはすべて `async` メソッドなので、`await` する必要があります。
    
    例えば、`async` の *path operation 関数* 内では次のように内容を取得できます:
    
    ```Python
    contents = await myfile.read()
    ```
    
    通常の `def` の *path operation 関数* 内にいる場合は、`UploadFile.file` に直接アクセスできます。例えば:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` の技術詳細
    
    `async` メソッドを使うと、**FastAPI** はファイルメソッドをスレッドプールで実行し、その完了を待機します。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

    import org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException;
    
    /**
     * Test for FessEnv
     * Note: Many tests are currently disabled due to ObjectiveConfig initialization issues
     * that require a full LastaFlute context
     */
    public class FessEnvTest extends UnitFessTestCase {
    
        private FessEnv.SimpleImpl fessEnv;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.CIFSContext;
    import jcifs.NameServiceClient;
    import jcifs.RuntimeCIFSException;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. cmd/signature-v4-utils.go

    	}
    
    	// Skip if no header was set.
    	if !ok {
    		return true
    	}
    
    	// If x-amz-content-sha256 is set and the value is not
    	// 'UNSIGNED-PAYLOAD' we should validate the content sha256.
    	switch v[0] {
    	case unsignedPayload, unsignedPayloadTrailer:
    		return true
    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    		// we should skip such clients and allow
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
Back to Top