Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,267 for result7 (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          // racy single-check idiom
          Integer result = size;
          if (result == null) {
            long total = 0;
            for (Range<C> range : ranges) {
              total += ContiguousSet.create(range, domain).size();
              if (total >= Integer.MAX_VALUE) {
                break;
              }
            }
            result = size = Ints.saturatedCast(total);
          }
          return result;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

      public static <K, V> ConcurrentNavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/EnumMultiset.java

       *
       * @since 14.0
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) {
        EnumMultiset<E> result = create(type);
        Iterables.addAll(result, elements);
        return result;
      }
    
      private transient Class<E> type;
      private transient E[] enumConstants;
      private transient int[] counts;
      private transient int distinctElements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java

      public static <K, V> ConcurrentNavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        ConcurrentNavigableMapTestSuiteBuilder<K, V> result =
            new ConcurrentNavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            ResultOffsetExceededException exception = new ResultOffsetExceededException(message);
    
            String result = exception.toString();
            assertNotNull(result);
            assertTrue(result.contains(ResultOffsetExceededException.class.getName()));
            assertTrue(result.contains(message));
        }
    
        @Test
        public void test_multipleInstances() {
            // Test creating multiple instances
    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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

        val atomicTags = AtomicReference<Tags>(tags)
        val result =
          atomicTags.computeIfAbsent(String::class) {
            // 'Race' by making another computeIfAbsent call. In practice this would be another thread.
            assertThat(atomicTags.computeIfAbsent(Integer::class) { 5 as Integer }).isEqualTo(5)
            "a"
          }
        assertThat(result).isEqualTo("a")
        assertThat(atomicTags.get()[String::class]).isEqualTo("a")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractIterator.java

       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
       * result in an {@link IllegalStateException}.
       *
       * <p>The implementation of this method may not invoke the {@code hasNext}, {@code next}, or
       * {@link #peek()} methods on this instance; if it does, an {@code IllegalStateException} will
       * result.
       *
       * @return the next element if there was one. If {@code endOfData} was called during execution,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top