Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 2,976 for throwIt (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestNull(forPredicate(Predicates.equalTo('c')));
      }
    
      private void doTestEmpty(CharMatcher matcher) throws Exception {
        reallyTestEmpty(matcher);
        reallyTestEmpty(matcher.negate());
        reallyTestEmpty(matcher.precomputed());
      }
    
      private void reallyTestEmpty(CharMatcher matcher) throws Exception {
        assertEquals(-1, matcher.indexIn(""));
        assertEquals(-1, matcher.indexIn("", 0));
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

    import org.opensearch.search.rescore.RescorerBuilder;
    
    public class QueryRescorerTest extends UnitFessTestCase {
    
        private QueryRescorer queryRescorer;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        public void test_evaluate_withNullParams() {
            // Test implementation that returns null
            queryRescorer = new QueryRescorer() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

          return false;
        }
        N nodeU = endpoints.nodeU();
        N nodeV = endpoints.nodeV();
        return nodes().contains(nodeU) && successors(nodeU).contains(nodeV);
      }
    
      /**
       * Throws {@code IllegalArgumentException} if the ordering of {@code endpoints} is not compatible
       * with the directionality of this graph.
       */
      protected final void validateEndpoints(EndpointPair<?> endpoints) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

        }
    
        // Test execute method with non-BooleanQuery (should throw exception)
        public void test_execute_withNonBooleanQuery() {
            TermQuery termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                booleanQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
            } catch (InvalidQueryException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            Encdec.enc_uint32le(0xFFFF + 1, buffer, 8);
    
            ndrBuffer.setIndex(0);
            NdrException thrown = assertThrows(NdrException.class, () -> {
                ndrBuffer.dec_ndr_string();
            });
            assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage());
        }
    
        @Test
        void testEncNdrReferent() {
            Object obj1 = new Object();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Establish RDMA connection
         *
         * @throws IOException if connection fails
         */
        public abstract void connect() throws IOException;
    
        /**
         * Send data using RDMA
         *
         * @param data data buffer to send
         * @param region registered memory region for the data
         * @throws IOException if send fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Floats.java

       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static float min(float... array) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException {
            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/MimeMapTest.java

        private MimeMap mimeMap;
    
        @BeforeEach
        void setUp() throws IOException {
            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top