Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,321 for api1 (0.02 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

    import org.apache.lucene.search.TermQuery;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.exception.InvalidQueryException;
    import org.junit.jupiter.api.Test;
    import org.opensearch.index.query.FuzzyQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    public class FuzzyQueryCommandTest extends QueryTestBase {
    
        private FuzzyQueryCommand fuzzyQueryCommand;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
     * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by
     * multiple threads.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class StopwordsFileTest extends UnitFessTestCase {
    
        private StopwordsFile stopwordsFile;
        private File testFile;
        private DictionaryManager dictionaryManager;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    public class CustomSizeTest extends UnitFessTestCase {
    
        // Test field with CustomSize annotation for testing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
        // Not supported due to access checks on JDK 9+:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

     * the License.
     */
    
    package com.google.common.io;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.VmOptions;
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.nio.Buffer;
    import java.nio.CharBuffer;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Tests for our hostname verifier. Most of these tests are from AOSP, which itself includes tests
     * from the Apache HTTP Client test suite.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/xml/XmlEscapers.java

    /**
     * {@code Escaper} instances suitable for strings to be included in XML attribute values and
     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
     * href="http://www.xom.nu/">XOM</a>.
     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.client;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class SearchEngineClientExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor_withMessage() {
            // Test constructor with message only
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top