Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2421 - 2430 of 2,590 for throwIt (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/graph/StandardValueGraph.java

      }
    
      private final GraphConnections<N, V> checkedConnections(N node) {
        GraphConnections<N, V> connections = nodeConnections.get(node);
        if (connections == null) {
          checkNotNull(node);
          throw new IllegalArgumentException("Node " + node + " is not an element of this graph.");
        }
        return connections;
      }
    
      final boolean containsNode(@Nullable N node) {
        return nodeConnections.containsKey(node);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 2:
              k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through
            case 1:
              k1 ^= (long) toUnsignedInt(bb.get(0));
              break;
            default:
              throw new AssertionError("Should never get here.");
          }
          h1 ^= mixK1(k1);
          h2 ^= mixK2(k2);
        }
    
        @Override
        protected HashCode makeHash() {
          h1 ^= length;
          h2 ^= length;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

                        continue;
                    }
                    handler.processResource(entryName.substring(pos), new FilterInputStream(zipInputStream) {
                        @Override
                        public void close() throws IOException {
                            ZipInputStreamUtil.closeEntry(zipInputStream);
                        }
                    });
                }
            }
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        extends AbstractTester<OneSizeTestContainerGenerator<C, E>> {
      protected SampleElements<E> samples;
      protected C container;
    
      @Override
      @OverridingMethodsMustInvokeSuper
      public void setUp() throws Exception {
        super.setUp();
        samples = this.getSubjectGenerator().samples();
        resetContainer();
      }
    
      /**
       * @return the contents of the container under test, for use by {@link #expectContents(Object[])
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertThat(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256)
          .isNotEqualTo(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
      }
    
      @Test
      fun forJavaName_acceptsArbitraryStrings() {
        // Shouldn't throw.
        forJavaName("example CipherSuite name that is not in the whitelist")
      }
    
      @Test
      fun javaName_examples() {
        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe();
    
      private static class DontCompareMe implements Comparable<DontCompareMe> {
        @Override
        public int compareTo(DontCompareMe o) {
          throw new AssertionFailedError();
        }
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testCompareBooleans() {
        assertThat(
                ComparisonChain.start()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:05:13 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            val packageNamePath = packageName.replace(".", File.separator)
            val packageDirectory = sourceRootDirectory.file(packageNamePath).asFile
            if (!packageDirectory.exists() && !packageDirectory.mkdirs()) {
                throw IOException("Failed to create directory `$packageDirectory`")
            }
    
            writeAnnotationFile(packageDirectory, packageName, "GroovyBuildScriptLanguage") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                    exception = new SuggesterException(e);
                    scrollId = null;
                }
            }
    
            docCount.getAndAdd(queue.size());
    
            if (exception != null) {
                throw exception;
            }
        }
    
        /**
         * Calculates the limit document number based on total, percentage, and number.
         * @param total The total number of documents.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            };
        tester.test();
      }
    
      public void testIteratorTester() throws Exception {
        Random random = new Random(0);
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < 3; i++) {
          list.add(random.nextInt());
        }
        runIterator(list, 6);
      }
    
      public void testIteratorTesterLarger() throws Exception {
        runIterator(Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 5);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

              // On OpenJDK, the handshake succeeds but the certificate pinner fails.
              assertThat(expected.message!!).startsWith("Certificate pinning failure!")
            }
            else -> throw expected
          }
        }
      }
    
      /**
       * Not checking the CA bit created a vulnerability in old OkHttp releases. It is exploited by
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 24.3K bytes
    - Click Count (2)
Back to Top