Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,040 for handler1 (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            FileBothDirectoryInfo result = (FileBothDirectoryInfo) createFileInfoMethod.invoke(response);
    
            assertNull(result);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat handles large buffer offset correctly")
        void testReadBytesWireFormatLargeBufferOffset() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

              // If the delegate is already done, run the execution list immediately on the current
              // thread.
              executionList.execute();
              return;
            }
    
            // TODO(lukes): handle RejectedExecutionException
            adapterExecutor.execute(
                () -> {
                  try {
                    /*
                     * Threads from our private pool are never interrupted. Threads from a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertFalse(standardInfo.deletePending);
                assertFalse(standardInfo.directory);
            }
    
            @Test
            @DisplayName("Should handle directory flag")
            void testStandardInfoDirectory() {
                Trans2QueryPathInformationResponse.SmbQueryFileStandardInfo standardInfo = response.new SmbQueryFileStandardInfo();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 36] = 0x00;
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            assertEquals(37, bytesRead);
    
            // Verify maximum values are correctly handled
            Field setupCountField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("setupCount");
            setupCountField.setAccessible(true);
            assertEquals(255, setupCountField.get(response));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                response.setExpiration(null);
    
                assertNull(response.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("Async Handling Tests")
        class AsyncHandlingTests {
    
            @Test
            @DisplayName("Should get and set async handled")
            void testAsyncHandled() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Config.java

        private Config() {
            // Utility class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NetServerEnumIterator.java

        private FileEntry next;
    
        /**
         * Constructs a NetServerEnumIterator for enumerating network servers
         * @param parent
         *            the parent SMB file
         * @param th
         *            the tree handle to use
         * @param wildcard
         *            wildcard pattern for filtering servers
         * @param searchAttributes
         *            attributes to search for
         * @param filter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                        "Elapsed time should match calculated duration between start and now");
            }
        }
    
        @Test
        @DisplayName("MonotonicClock should handle rapid successive calls")
        void testRapidCalls() {
            Instant[] instants = new Instant[1000];
            for (int i = 0; i < instants.length; i++) {
                instants[i] = MonotonicClock.now();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top