Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 436 for throwing (0.06 sec)

  1. android/guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

                    transport.getRequestSecurityMode(firstReq));
        }
    
        @Test
        @DisplayName("toString contains key fields without throwing")
        void toStringContainsInfo() {
            String s = transport.toString();
            assertNotNull(s);
            assertTrue(s.contains("state="));
            assertTrue(s.contains(":445"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    // Not called
                }
            }, CrawlingInfoService.class.getCanonicalName());
    
            // Should log warning and return without throwing exception
            crawlingInfoHelper.updateParams(sessionId, "Test", 1);
        }
    
        public void test_updateParams_storeException() {
            final String sessionId = "store-error-session";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

              continue
            }
    
            if (readBytesDelivered != -1L) {
              return readBytesDelivered
            }
    
            if (errorExceptionToDeliver != null) {
              // We defer throwing the exception until now so that we can refill the connection
              // flow-control window. This is necessary because we don't transmit window updates until
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("one", 2); // throwing on this line would be even better
    
        assertThrows(IllegalArgumentException.class, () -> builder.build());
      }
    
      public void testOf() {
        assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                      Set<Integer> unused = network.successors(first);
                      return null;
                    }
                  }));
        }
    
        /*
         * It's unlikely that any operations would fail by throwing an exception, but let's check them
         * just to be safe.
         *
         * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset);
    
            // Then - response is created successfully
            assertNotNull(responseWithNull);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                        log.error("Automatic key rotation failed", e);
                        throw new CIFSException("Automatic key rotation failed", e);
                    }
                } else {
                    // Fall back to throwing exception if no session key is available
                    totalKeyRotations.incrementAndGet();
                    lastKeyRotationTime.set(System.currentTimeMillis());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        accumulator.add(ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
      }
    
      public void testMean() {
        assertThrows(IllegalStateException.class, () -> emptyAccumulator.mean());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       * If there are I/O problems during iteration, this iterator fails silently. For example, if the
       * hosting filesystem becomes unreachable, the iterator will omit elements rather than throwing
       * exceptions.
       *
       * **The caller must [close][Snapshot.close]** each snapshot returned by [Iterator.next]. Failing
       * to do so leaks open files!
       */
      @Synchronized
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top