Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for countOps (0.14 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            raf.writeShort(1);
            raf.writeChar('A');
            raf.writeInt(1);
            raf.writeLong(1L);
            raf.writeFloat(1.0f);
            raf.writeDouble(1.0);
    
            // Verify length counts - using times() to check exact counts
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport, times(3)).isSMB2();
        }
    
        // Inflight requests count including edge values
        @ParameterizedTest
        @DisplayName("getInflightRequests returns various counts")
        @ValueSource(ints = { 0, 1, 42, 1000 })
        void getInflightRequests_counts(int count) {
            when(transport.getInflightRequests()).thenReturn(count);
            assertEquals(count, transport.getInflightRequests());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertNull(context.getSalt());
                assertEquals(4, context.size()); // Only header
            }
    
            @ParameterizedTest
            @DisplayName("Should encode with different hash algorithm counts")
            @ValueSource(ints = { 0, 1, 2, 5, 10 })
            void testEncodeWithDifferentHashAlgoCounts(int count) {
                int[] hashAlgos = new int[count];
                for (int i = 0; i < count; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            logger.resetStatistics();
    
            Map<EventType, Long> statsAfter = logger.getStatistics();
            // After reset, all counters should be 0
            for (Long count : statsAfter.values()) {
                assertEquals(Long.valueOf(0), count, "All statistics should be 0 after reset");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            // NOTE: Order counts here!
            valueSources.add(basedirValueSource);
            valueSources.add(baseUriValueSource);
            valueSources.add(new BuildTimestampValueSource(config.getBuildStartTime(), timestampFormat));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
            return target;
        }
    
        /**
         * Updates a document with additional metadata and enhancements.
         * Adds click counts, favorite counts, document boosting, and generates document ID.
         * Also applies language-specific updates through the language helper.
         *
         * @param map the document data map to update with additional metadata
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            stats.recordRdmaSend(512, 500000); // 512B in 0.5ms
            stats.recordRdmaReceive(1536, 1500000); // 1.5KB in 1.5ms
            stats.recordError();
    
            // Verify counters
            assertEquals(1, stats.getRdmaReads(), "Should have 1 read operation");
            assertEquals(1, stats.getRdmaWrites(), "Should have 1 write operation");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

        /**
         * Creation time of the crawling information.
         */
        public String createdTime;
    
        /**
         * Clears all pagination state and crawling information fields.
         * Resets all counts, page flags, and crawling-specific fields to their default values.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                    for (int j = 0; j < 100; j++) {
                        List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
                        // Just read, don't assert specific counts due to race conditions
                        assertNotNull(children);
                    }
                });
                readThreads[i].start();
            }
    
            // Wait for all threads
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top