Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 560 for completate (0.16 seconds)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0, length);
        }
    
        @Test
        @DisplayName("readn should read complete data when available")
        void testReadnComplete() throws IOException {
            byte[] buffer = new byte[10];
            byte[] data = { 1, 2, 3, 4, 5 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

          @Override
          public Entry<E> next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            // requireNonNull is safe because current is only nulled out after iteration is complete.
            Entry<E> result = wrapEntry(requireNonNull(current));
            prevEntry = result;
            if (current.succ() == header) {
              current = null;
            } else {
              current = current.succ();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/MoreObjects.java

         * Returns a string in the format specified by {@link MoreObjects#toStringHelper(Object)}.
         *
         * <p>After calling this method, you can keep adding more properties to later call toString()
         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

        awaitDone(() -> ref.get() == null);
      }
    
      /**
       * Tries to perform a "full" garbage collection cycle (including processing of weak references and
       * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak
       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>Disadvantages of EventBus include:
     *
     * <ul>
     *   <li>It makes the cross-references between producer and subscriber harder to find. This can
     *       complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly
     *       initialize all possible subscribers at startup time.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/log/Logger.java

        /** Map of loggers keyed by class */
        protected static final Map<Class<?>, Logger> loggers = newHashMap();
    
        /** Flag indicating initialization is complete. */
        private static boolean initialized;
    
        /** Logger adapter. */
        private final LoggerAdapter log;
    
        /**
         * Returns a {@link Logger}.
         *
         * @param clazz
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            // This method should always return 0 as the request doesn't read responses
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test complete flow with all setters")
        void testCompleteFlow() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            // Set all fields
            byte[] newFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertTrue(echoResponse.isSigned());
            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should handle complete echo response workflow")
            void testCompleteEchoResponseWorkflow() throws Exception {
                // Setup
                byte[] buffer = new byte[1024];
                int bufferIndex = 64;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        protected int maxDataCount;
        /** Maximum number of setup words the server should return */
        protected byte maxSetupCount;
        /** Timeout in milliseconds to wait for the transaction to complete */
        protected int timeout = 0;
        /** Number of setup words in this request */
        protected int setupCount = 1;
        private byte subCommand;
        /** The transaction name for named pipe transactions */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = simplePath.getBytes(StandardCharsets.UTF_16LE);
            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Verify complete structure
            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset)); // Structure size
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2)); // Tree flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top