Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 4,655 for news (0.09 sec)

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

        @Nullable String string;
      }
    
      public void testBuilder_withMutableEntry() {
        ImmutableMap.Builder<String, Integer> builder = new Builder<>();
        StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
        }
    
        // Test successful PAC creation with mocked Pac construction
        @Test
        void testConstructorSuccess() throws PACDecodingException {
            // Setup key
            byte[] keyBytes = new byte[32];
            KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      private static Test testsForHashMapNullKeysForbidden() {
        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(HashMap<String, String> map) {
                if (map.containsKey(null)) {
                  throw new NullPointerException();
                }
                return new AbstractMap<String, String>() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isShutdown() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean isTerminated() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public void shutdown() {
          throw new UnsupportedOperationException();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            FileBasicInfo original =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);
    
            // Encode to buffer
            byte[] buffer = new byte[50];
            int encodedBytes = original.encode(buffer, 0);
    
            // Decode to new instance (decode reads 36 bytes, encode writes 40)
            FileBasicInfo decoded = new FileBasicInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
     * throw new SuggesterException("An error occurred", new IOException("IO error"));
     * </pre>
     *
     * @see RuntimeException
     */
    public class SuggesterException extends RuntimeException {
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

            if (src == null || dst == null) {
                throw new IllegalArgumentException("Arrays cannot be null");
            }
            if (srcOffset < 0 || dstOffset < 0 || length < 0) {
                throw new IllegalArgumentException("Offsets and length must be non-negative");
            }
            if (srcOffset + length > src.length) {
                throw new IllegalArgumentException(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable1 = new TestCloseable("closeable1");
      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top