Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 470 for unneeded (0.15 sec)

  1. internal/s3select/json/preader.go

    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const jsonSplitSize = 128 << 10
    
    // startReaders will read the header if needed and spin up a parser
    // and a number of workers based on GOMAXPROCS.
    // If an error is returned no goroutines have been started and r.err will have been set.
    func (r *PReader) startReaders() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with larger buffer and length")
        void testDecodeWithLargerBufferAndLength() throws SMBProtocolDecodingException {
            // Test with buffer and length larger than needed
            byte[] buffer = new byte[100];
    
            // Fill test pattern
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            pdis.readByte(); // position is 1
            pdis.align(4);
            assertEquals(1, pdis.available());
            assertEquals(0x05, pdis.readByte());
    
            // Test no alignment needed
            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readInt(); // position is 4
            pdis.align(4);
            assertEquals(0, pdis.available());
    
            // Test alignment with mask 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        if (length == 0) {
          return of();
        }
        return new RegularImmutableList<E>(elements, length);
      }
    
      ImmutableList() {}
    
      // This declaration is needed to make List.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
         */
        @Test
        void testUnwrap_withMatchingType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            }
            return url.toString();
        }
    
        /**
         * Builds a URL from protocol, hostname string, port, and path.
         * Properly handles IPv6 addresses by wrapping them in brackets if needed.
         *
         * @param protocol the protocol (e.g., "http", "https")
         * @param host the hostname or IP address string
         * @param port the port number
         * @param path the path (should start with "/" or be empty)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            this.lifecycleDebugLogger = lifecycleDebugLogger;
            this.lifeCycleExecutionPlanCalculator = lifeCycleExecutionPlanCalculator;
            this.eventCatapult = eventCatapult;
        }
    
        /**
         * Ctor needed for UT.
         */
        BuilderCommon(
                LifecycleDebugLogger lifecycleDebugLogger,
                LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator,
                ExecutionEventCatapult eventCatapult,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @Test
            @DisplayName("Should handle response at end of buffer")
            void testResponseAtEndOfBuffer() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[20]; // Exact size needed
                SMBUtil.writeInt2(17, buffer, 0);
                SMBUtil.writeInt2(0, buffer, 2);
                SMBUtil.writeInt4(999, buffer, 4);
                SMBUtil.writeInt4(111, buffer, 8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SSPContextTest.java

                when(mockCtx.supportsIntegrity()).thenReturn(true);
                when(mockCtx.calculateMIC(any(byte[].class))).thenReturn(new byte[] { 42 });
                // verifyMIC returns void; no stubbing needed
                when(mockCtx.isMICAvailable()).thenReturn(true);
    
                // Act
                useContext(mockCtx);
    
                // Assert: verify key interactions and ordering where meaningful
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/JoinerTest.java

    /**
     * Unit test for {@link Joiner}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class JoinerTest extends TestCase {
      private static final Joiner J = Joiner.on("-");
    
      // <Integer> needed to prevent warning :(
      private static final Iterable<Integer> iterable = Arrays.<Integer>asList();
      private static final Iterable<Integer> iterable1 = Arrays.asList(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top