Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 757 for SINGLE (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/changelogs/upgrading_to_okhttp_4.md

    
    SAM Conversions
    ---------------
    
    When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin
    lambdas. The [feature][java_sams] is available for interfaces that define a Single Abstract Method
    (SAM).
    
    But when you use Kotlin APIs from Kotlin there’s no automatic conversion. Code that used SAM lambdas
    with OkHttp 3.x: must use `object :` with OkHttp 4.x:
    
    Kotlin calling OkHttp 3.x:
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        }
    
        public MetadataGraph(int nVertices, int nEdges) {
            init(nVertices, nEdges);
        }
        // ------------------------------------------------------------------------
        /**
         * construct a single vertex
         */
        public MetadataGraph(MetadataGraphVertex entry) throws MetadataResolutionException {
            checkVertex(entry);
            checkVertices(1);
    
            entry.setCompareVersion(versionedVertices);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

     * is properly escaped in regex patterns to match literally.
     */
    public class CrawlerRuleMimeTypePatternTest extends UnitFessTestCase {
    
        // Pattern from webFileRule in rule.xml
        // Note: In XML, single backslash is used. In Java string, we need to double it.
        private static final String WEB_FILE_RULE_PATTERN = "(application/xml" //
                + "|application/xhtml\\+xml" //
                + "|application/rdf\\+xml" //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        }
    
        @Test
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars);
    
            assertEquals(messageWithSpecialChars, exception.getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

    import okhttp3.Response
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    
    /**
     * [DNS over HTTPS implementation][doh_spec].
     *
     * > A DNS API client encodes a single DNS query into an HTTP request
     * > using either the HTTP GET or POST method and the other requirements
     * > of this section.  The DNS API server defines the URI used by the
     * > request through the use of a URI Template.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      @SuppressWarnings("unchecked")
      public static <B> ImmutableClassToInstanceMap<B> of() {
        return (ImmutableClassToInstanceMap<B>) EMPTY;
      }
    
      /**
       * Returns an {@code ImmutableClassToInstanceMap} containing a single entry.
       *
       * @since 19.0
       */
      public static <B, T extends B> ImmutableClassToInstanceMap<B> of(Class<T> type, T value) {
        return new ImmutableClassToInstanceMap<>(ImmutableMap.of(type, value));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.position(22);
            bb.put("SINGLE".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            referral.decode(testBuffer, 0, testBuffer.length);
    
            String[] expanded = referral.getExpandedNames();
            assertEquals(1, expanded.length);
            assertEquals("SINGLE", expanded[0]);
        }
    
        @Test
        public void testManyExpandedNames() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

    import okio.Buffer
    import okio.ForwardingSink
    import okio.ForwardingSource
    import okio.Sink
    import okio.Socket
    import okio.Source
    import okio.buffer
    
    /**
     * Transmits a single HTTP request and a response pair. This layers connection management and events
     * on [ExchangeCodec], which handles the actual I/O.
     */
    class Exchange(
      internal val call: RealCall,
      internal val finder: ExchangeFinder,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/pac/PacDataInputStream.java

         * @throws IOException if an I/O error occurs
         */
        public char readChar() throws IOException {
            align(2);
            return this.dis.readChar();
        }
    
        /**
         * Reads a single byte value.
         * @return the byte value
         * @throws IOException if an I/O error occurs
         */
        public byte readByte() throws IOException {
            return this.dis.readByte();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top