Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 1,947 for threw (0.03 sec)

  1. guava-tests/test/com/google/common/hash/HashCodeTest.java

        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
        final String toString;
    
        ExpectedHashCode(byte[] bytes, int asInt, @Nullable Long asLong, String toString) {
          this.bytes = bytes;
          this.asInt = asInt;
          this.asLong = asLong;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                                logger.debug("{} exists.", urlQueue.getUrl(), e);
                            }
                            return;
                        }
                        throw e;
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("Storing child urls: {}", resultData.getChildUrlSet());
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                @Override
                public RescorerBuilder<?> evaluate(Map<String, Object> params) {
                    if (params != null && params.containsKey("throwException")) {
                        throw new RuntimeException("Test exception");
                    }
                    return createMockRescorerBuilder();
                }
            };
    
            // Test normal case
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
       * and {@code scheduleWithFixedDelay} are not supported by this class and will throw an
       * UnsupportedOperationException.
       *
       * <p>The implementation deviates from the {@code ExecutorService} specification with regards to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
        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. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

          }
    
          @Override
          public int size() {
            return Ints.saturatedCast(edgeCount());
          }
    
          @Override
          public boolean remove(@Nullable Object o) {
            throw new UnsupportedOperationException();
          }
    
          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) });
            setField(cmd, "largeFile", false);
            // create a buffer that is empty, readBytesWireFormat should throw
            byte[] buffer = new byte[0];
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertTrue(output.contains("true"));
    
            // Test close
            logStream.close();
            // After close, the stream should not accept more writes
            // but PrintStream doesn't throw exceptions on write after close
        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety of getInstance
            LogStream.setInstance(testStream);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
          throw new IllegalArgumentException(
              "Duplicate keys in mappings "
                  + previousEntry.getKey()
                  + "="
                  + previousEntry.getValue()
                  + " and "
                  + key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        List<Float> one = Arrays.asList(1.0f);
        assertThat(Floats.toArray(one)).isEqualTo(ARRAY1);
    
        float[] array = {0.0f, 1.0f, 3.0f};
    
        List<Float> three = Arrays.asList(0.0f, 1.0f, 3.0f);
        assertThat(Floats.toArray(three)).isEqualTo(array);
    
        assertThat(Floats.toArray(Floats.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top