Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,947 for threw (0.02 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3), "one", 1, "three", 3, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "five",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * return the value but instead throw an exception.
       */
      private var trailers: Headers? = null
    
      override val isResponseComplete: Boolean
        get() = state == STATE_CLOSED
    
      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink =
        when {
          request.body?.isDuplex() == true -> throw ProtocolException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                encodeCallCount++;
                if (throwOnEncode) {
                    throw new RuntimeException("Test encode error");
                }
                if (dst == null) {
                    throw new IllegalArgumentException("Destination buffer cannot be null");
                }
                if (dstIndex < 0) {
                    throw new IllegalArgumentException("Destination index cannot be negative");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                return compressLZ77Huffman(data, offset, length);
    
            case COMPRESSION_LZNT1:
                throw new CIFSException("LZNT1 compression not yet implemented");
    
            case COMPRESSION_PATTERN_V1:
                throw new CIFSException("Pattern_V1 compression not yet implemented");
    
            default:
                throw new CIFSException("Unknown compression algorithm: " + algorithm);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

            } else {
                throw new SmbException("The requested list operations is invalid: " + locator.getURL());
            }
            this.response = new NetServerEnum2Response(th.getConfig());
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
            } catch (final Exception e) {
                this.treeHandle.release();
                throw e;
            }
    
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

      final UnmodifiableIterator<Cell<R, C, V>> cellIterator() {
        throw new AssertionError("should never be called");
      }
    
      @Override
      public ImmutableCollection<V> values() {
        return (ImmutableCollection<V>) super.values();
      }
    
      @Override
      abstract ImmutableCollection<V> createValues();
    
      @Override
      final Iterator<V> valuesIterator() {
        throw new AssertionError("should never be called");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

          @Nullable Object p4) {
        if (reference == null) {
          throw new NullPointerException(Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3).inverse(),
            1,
            "one",
            2,
            "two",
            3,
            "three");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

          Iterable<? extends T> a, Iterable<? extends T> b) {
        return concatNoDefensiveCopy(a, b);
      }
    
      /**
       * Returns a fluent iterable that combines three iterables. The returned iterable has an iterator
       * that traverses the elements in {@code a}, followed by the elements in {@code b}, followed by
       * the elements in {@code c}. The source iterators are not polled until necessary.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
Back to top