Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 517 for 100m (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertSame(specificHandle, handleField.get(lookupSids));
        }
    
        @Test
        void constructor_shouldHandleLargeSidArray() {
            // Arrange
            int largeSize = 1000;
            testSids = new jcifs.SID[largeSize];
            for (int i = 0; i < largeSize; i++) {
                testSids[i] = mock(jcifs.SID.class);
                when(testSids[i].unwrap(sid_t.class)).thenReturn(mockSidT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacLogonInfoTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write a RID (4 bytes) for readId() method
            writeLittleEndianInt(dos, 1000);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            PacDataInputStream pacStream = new PacDataInputStream(bais);
    
            SID id = pacStream.readId();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

            long endTime = System.currentTimeMillis();
            long duration = endTime - startTime;
    
            // Then - should complete quickly (this is more of a performance indicator)
            assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)");
        }
    
        @Test
        @DisplayName("EmptyIterator should work correctly in nested iteration")
        void testNestedIteration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] smallBuffer = new byte[1];
            byte[] largeBuffer = new byte[1000];
    
            // Act & Assert
            assertEquals(0, transPeekNamedPipe.readSetupWireFormat(smallBuffer, 0, 1));
            assertEquals(0, transPeekNamedPipe.readSetupWireFormat(largeBuffer, 500, 500));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            for (int i = 1; i <= 5; i++) {
                int newResumeKey = i * 1000;
                String newFilename = "file" + i + ".txt";
    
                trans2FindNext2.reset(newResumeKey, newFilename);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        void testMaximumPathLength() throws Exception {
            // Given - Create a very long path
            StringBuilder longPathBuilder = new StringBuilder("\\\\server\\");
            for (int i = 0; i < 1000; i++) {
                longPathBuilder.append("a");
            }
            String longPath = longPathBuilder.toString();
    
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        static Stream<Arguments> equalsHashParams() {
            return Stream.of(
                    // byte[] id based equality (same id and tree id)
                    Arguments.of(new byte[] { 0x0A, 0x0B }, new byte[] { 0x0A, 0x0B }, 100L, true),
                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
        @ParameterizedTest(name = "equals/hashCode consistent for treeId={2}")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  currentFuture.get().addListener(listener, executor);
                  return null;
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties());
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          AbstractFuture<String> future = new AbstractFuture<String>() {};
          currentFuture.set(future);
          for (Callable<?> task : allTasks) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            }
        }
    
        static class MockFessConfig extends FessConfig.SimpleImpl {
            @Override
            public Integer getPageRelatedqueryMaxFetchSizeAsInteger() {
                return 1000;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top