Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,499 for trying (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        // Warm up the client so the timing part of the test gets a pooled connection.
        server.enqueue(MockResponse())
        val warmUpCall =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        warmUpCall.execute().use { warmUpResponse -> warmUpResponse.body.string() }
        listener.clearAllEvents()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * cast, for example:
       *
       * {@snippet :
       * Set<Object> aFewBadObjects = ...
       * Set<String> manyBadStrings = ...
       *
       * // impossible for a non-String to be in the intersection
       * SuppressWarnings("unchecked")
       * Set<String> badStrings = (Set) Sets.intersection(
       *     aFewBadObjects, manyBadStrings);
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

     *       <a href="https://developer.android.com/studio/build/shrink-code">R8 and Proguard</a>.
     *   <li>It doesn't offer a way to wait for multiple events before taking action. For example, it
     *       doesn't offer a way to wait for multiple producers to all report that they're "ready," nor
     *       does it offer a way to batch multiple events from a single producer together.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        checkNotNull(mutex);
        this.delegate = delegate;
        this.mutex = mutex;
      }
    
      @Override
      protected Set<E> delegate() {
        return delegate;
      }
    
      @Override
      public String toString() {
        assertTrue(Thread.holdsLock(mutex));
        return super.toString();
      }
    
      @Override
      public boolean equals(@Nullable Object o) {
        assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

    public static final String USE_WITNESS = "jcifs.smb.client.useWitness";
    public static final String WITNESS_HEARTBEAT_TIMEOUT = "jcifs.smb.client.witnessHeartbeatTimeout";
    public static final String WITNESS_REGISTRATION_TIMEOUT = "jcifs.smb.client.witnessRegistrationTimeout";
    public static final String WITNESS_RECONNECT_DELAY = "jcifs.smb.client.witnessReconnectDelay";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SIDCacheImplTest.java

            doAnswer(inv -> {
                // Simulate resolve call by setting names/types and thus enabling cache population
                Object[] args = inv.getArguments();
                String server = (String) args[0];
                CIFSContext c = (CIFSContext) args[1];
                assertNull(server); // We will pass null; method should forward it unchanged
                assertSame(ctx, c);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

        checkNotNull(mutex);
        this.delegate = delegate;
        this.mutex = mutex;
      }
    
      @Override
      protected Set<E> delegate() {
        return delegate;
      }
    
      @Override
      public String toString() {
        assertTrue(Thread.holdsLock(mutex));
        return super.toString();
      }
    
      @Override
      public boolean equals(@Nullable Object o) {
        assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        /**
         * Record a write operation error
         */
        public void recordWriteError() {
            recordError();
        }
    
        @Override
        public String toString() {
            return String.format(
                    "RdmaStatistics[reads=%d, writes=%d, sends=%d, receives=%d, "
                            + "bytes=%d, errors=%d, errorRate=%.3f, activeConnections=%d, activeMemRegions=%d]",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. README.md

    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top