Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for Self (0.01 sec)

  1. android/guava/src/com/google/common/collect/Collections2.java

       * @param self a collection which might contain all elements in {@code c}
       * @param c a collection whose elements might be contained by {@code self}
       */
      static boolean containsAllImpl(Collection<?> self, Collection<?> c) {
        for (Object o : c) {
          if (!self.contains(o)) {
            return false;
          }
        }
        return true;
      }
    
      /** An implementation of {@link Collection#toString()}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * <p>Note that in GWT, class names are often obfuscated.
       *
       * @param self the object to generate the string for (typically {@code this}), used only for its
       *     class name
       * @since 18.0 (since 2.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(Object self) {
        return new ToStringHelper(self.getClass().getSimpleName());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/RtmStartResponse.java

     */
    package okhttp3.slack;
    
    import java.util.List;
    import okhttp3.HttpUrl;
    
    /** See https://api.slack.com/methods/rtm.start. */
    public final class RtmStartResponse {
      HttpUrl url;
      Object self;
      Object team;
      List<Object> users;
      List<Object> channels;
      List<Object> groups;
      List<Object> mpims;
      List<Object> ims;
      List<Object> bots;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 943 bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8())
      }
    
      /**
       * We had a bug where self-finishing inflater streams would infinite loop!
       * https://github.com/square/okhttp/issues/8078
       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
        val inflater = MessageInflater(false)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
    
        // The inflater data was self-terminated and there's unexpected trailing data. Tear it all down
        // so we don't leak that data into the input of the next message.
        if (inflater.bytesRead < totalBytesToRead) {
          deflatedBytes.clear()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/pom.xml

            <executions>
              <execution>
                <id>default-compile</id>
                <configuration>
                  <compilerArgs combine.children="append" combine.self="append">
                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
              </execution>
              <execution>
                <id>compile-java9</id>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Sets the value of the given {@code entry}. */
        void setValue(E entry, V value) {
          this.map.entryHelper.setValue(self(), entry, value);
        }
    
        /** Returns a copy of the given {@code entry}. */
        @Nullable E copyEntry(E original, E newNext) {
          return this.map.entryHelper.copy(self(), original, newNext);
        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/DfsReferralData.java

         *
         * @return the expiration time of this entry
         */
        long getExpiration();
    
        /**
         * Get the next referral in the chain
         *
         * @return pointer to next referral, points to self if there is no further referral
         */
        DfsReferralData next();
    
        /**
         * Get the complete UNC path link for this referral
         *
         * @return the link
         */
        String getLink();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = OpenJSSEPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      private fun enableTls() {
        // Generate a self-signed cert for the server to serve and the client to trust.
        // can't use TlsUtil.localhost with a non OpenJSSE trust manager
        val heldCertificate =
          HeldCertificate
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top