Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 3,766 for same (0.02 sec)

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

      public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) {
        return (T[]) Array.newInstance(type, length);
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
     *     the same connection for an initial exchange and its follow-ups may improve locality.
     *
     *  2. If there is a connection in the pool that can satisfy the request it is used. Note that it is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * dashboard to create a client ID and secret for this application.
     *
     * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code
     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

                for (int j = i + 1; j < events.length; j++) {
                    assertNotEquals(events[i].getValue(), events[j].getValue(),
                            "Event types " + events[i] + " and " + events[j] + " have the same value");
                }
            }
        }
    
        @Test
        void testWitnessRegistrationStates() {
            assertEquals(5, WitnessRegistration.WitnessRegistrationState.values().length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

            }
        }
    
        /**
         * Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	// used for storing the uploadID's parsed on concurrent HTTP requests for NewMultipart upload on the same object.
    	testUploads := struct {
    		sync.Mutex
    		uploads []string
    	}{}
    
    	objectName := "test-object-new-multipart-parallel"
    	var wg sync.WaitGroup
    	for range 10 {
    		wg.Add(1)
    		// Initiate NewMultipart upload on the same object 10 times concurrrently.
    		go func() {
    			defer wg.Done()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

          overriddenAndAnnotatedInSubclassEvents.add(o);
        }
      }
    
      static class SubClass extends SuperClass {
        @Override
        // We are testing how we treat an override with the same behavior and annotations.
        @SuppressWarnings("RedundantOverride")
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          super.overriddenInSubclassNowhereAnnotated(o);
        }
    
        @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          /*
           * We'll call the user callback or collect the values only when all inputs complete,
           * regardless of whether some failed. This lets us avoid calling expensive methods like
           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
           * We store `localFuturesOrNull` inside the listener because `this.futures` might be nulled
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    @NullUnmarked
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random rng = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
     * underlying functionality, so should probably be overridden as a group.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top