Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 326 for single2 (0.7 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClusterException.java

      /**
       * Given a collection of exceptions, returns a {@link RuntimeException}, with the following rules:
       *
       * <ul>
       *   <li>If {@code exceptions} has a single exception and that exception is a {@link
       *       RuntimeException}, return it
       *   <li>If {@code exceptions} has a single exceptions and that exceptions is not a
       *       {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/StatsAccumulator.java

       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty or contains a single value
       */
      public final double sampleVariance() {
        checkState(count > 1);
        if (isNaN(sumOfSquaresOfDeltas)) {
          return NaN;
        }
        return ensureNonNegative(sumOfSquaresOfDeltas) / (count - 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

      val credential: String?,
      val scheme: String?,
    ) : Authenticator {
      val responses = mutableListOf<Response>()
      val routes = mutableListOf<Route>()
    
      fun onlyResponse() = responses.single()
    
      fun onlyRoute() = routes.single()
    
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        if (route == null) throw NullPointerException("route == null")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStatsAccumulator.java

        return yStats.snapshot();
      }
    
      /**
       * Returns the population covariance of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(valueMethod);
            assertEquals(String[].class, valueMethod.getReturnType());
            assertEquals(0, valueMethod.getParameterCount());
        }
    
        // Test class with single role
        @Secured({ "ROLE_USER" })
        static class SingleRoleClass {
            public void testMethod() {
            }
        }
    
        // Test class with multiple roles
        @Secured({ "ROLE_USER", "ROLE_ADMIN" })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

    /**
     * Represents a single character mapping rule that defines how input characters are mapped to output characters
     * for text analysis and search processing. This class is used in character mapping dictionaries to transform
     * text during indexing and search operations.
     *
     * <p>Each mapping item consists of one or more input character sequences that are mapped to a single output
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterables.java

       * generally guaranteed.
       */
      public static String toString(Iterable<?> iterable) {
        return Iterators.toString(iterable.iterator());
      }
    
      /**
       * Returns the single element contained in {@code iterable}.
       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            assertEquals("Executed: test script with \"quotes\"", result);
    
            result = jobExecutor.execute("test", "script with 'single quotes'");
            assertEquals("Executed: test script with 'single quotes'", result);
        }
    
        public void test_execute_longScript() {
            // Test with long script
            StringBuilder longScript = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStats.java

      public Stats yStats() {
        return yStats;
      }
    
      /**
       * Returns the population covariance of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top