Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2731 - 2740 of 3,773 for pull (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testNewReader() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        assertThrows(NullPointerException.class, () -> Files.newReader(asciiFile, null));
    
        assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

        final boolean shutdownWhenStartupFinishes;
    
        /**
         * The exception that caused this service to fail. This will be {@code null} unless the service
         * has failed.
         */
        final @Nullable Throwable failure;
    
        StateSnapshot(State internalState) {
          this(internalState, false, null);
        }
    
        StateSnapshot(
            State internalState, boolean shutdownWhenStartupFinishes, @Nullable Throwable failure) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMapEntry.java

       * #hashCode()} to forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /**
       * A sensible definition of {@link #toString} in terms of {@link #getKey} and {@link #getValue}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        @Test
        void testGetResults() {
            // Test the getResults method
            // By default, it should return null until results are set
            assertNull(response.getResults());
        }
    
        @Test
        void testGetLastName() {
            // Test the getLastName method
            // By default, it should return null
            assertNull(response.getLastName());
        }
    
        @Test
        void testGetSubCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

          NodeAndRemainingSuccessors<N> prev = stack.peekLast();
          stack.addLast(top);
    
          N node = top.node;
          N previousNode = prev == null ? null : prev.node;
          if (top.remainingSuccessors == null) {
            NodeVisitState state = visitedNodes.get(node);
            if (state == NodeVisitState.COMPLETE) {
              stack.removeLast();
              continue;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/Graphs.java

          NodeAndRemainingSuccessors<N> prev = stack.peekLast();
          stack.addLast(top);
    
          N node = top.node;
          N previousNode = prev == null ? null : prev.node;
          if (top.remainingSuccessors == null) {
            NodeVisitState state = visitedNodes.get(node);
            if (state == NodeVisitState.COMPLETE) {
              stack.removeLast();
              continue;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         */
        protected void verifyForm(final CreateForm form) {
            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // All read methods should handle null buffer gracefully by returning 0
            assertEquals(0, trans2QueryFSInfo.readSetupWireFormat(null, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top