Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 444 for 1020 (0.04 sec)

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

            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 100; // Start at non-zero index
    
            // Set structure size to 9 (valid)
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            for (int i = 0; i < 1000; i++) {
                counter.addAndGet(1024);
            }
    
            long end = System.nanoTime();
            double totalTimeMs = (end - start) / 1_000_000.0;
    
            System.out.printf("Overall Performance Test: completed in %.2f ms%n", totalTimeMs);
    
            // Should complete very quickly with all optimizations
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        this.isUserTypeFast = isUserTypeFast;
        this.random = checkNotNull(random);
        this.hitRate = hitRate;
        this.size = size;
    
        this.valuesInSet = createData();
        this.queries = createQueries(valuesInSet, 1024);
      }
    
      Set<Element> getValuesInSet() {
        return valuesInSet;
      }
    
      Element[] getQueries() {
        return queries;
      }
    
      private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            byte[] buffer = createBasicNegotiateResponseBuffer();
            // Set SMB 3.1.1 dialect
            SMBUtil.writeInt2(0x0311, buffer, 4);
            // Set excessive negotiate context count (should be limited to 100)
            SMBUtil.writeInt2(1000, buffer, 6);
            // Set negotiate context offset to valid value
            SMBUtil.writeInt4(128, buffer, 60);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
                double percentFree = (fileFsSizeInfo.getFree() * 100.0) / fileFsSizeInfo.getCapacity();
                double percentUsed = ((fileFsSizeInfo.getCapacity() - fileFsSizeInfo.getFree()) * 100.0) / fileFsSizeInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
                assertEquals(75.0, percentUsed, 0.001);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            offset += 4;
            SMBUtil.writeInt4(2000, buffer2, offset); // alloc
            offset += 4;
            SMBUtil.writeInt4(1000, buffer2, offset); // free
            offset += 4;
            SMBUtil.writeInt2(1024, buffer2, offset); // bytesPerSect
    
            smbInfoAllocation.decode(buffer2, 0, buffer2.length);
    
            // Verify values are updated
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                long testTime = 116444736000000000L;
                SMBUtil.writeInt8(testTime, buffer, 8);
                SMBUtil.writeInt8(testTime + 1000, buffer, 16);
                SMBUtil.writeInt8(testTime + 2000, buffer, 24);
                SMBUtil.writeInt8(testTime + 3000, buffer, 32);
                SMBUtil.writeInt8(1024, buffer, 40);
                SMBUtil.writeInt8(512, buffer, 48);
                SMBUtil.writeInt4(0x01, buffer, 56);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

                assertEquals(0, response.writeDataWireFormat(buffer, i * 10));
                assertEquals(0, response.readSetupWireFormat(buffer, i * 10, 10));
                assertEquals(0, response.readParametersWireFormat(buffer, i * 10, 10));
                assertEquals(0, response.readDataWireFormat(buffer, i * 10, 10));
            }
        }
    
        @Test
        @DisplayName("Test toString contains proper class name")
        void testToStringFormat() {
    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/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertTrue(channel.isHealthy());
    
            // Test metrics
            channel.incrementRequestsSent();
            channel.addBytesSent(1024);
            channel.updateActivity();
    
            assertEquals(1, channel.getRequestsSent());
            assertEquals(1024, channel.getBytesSent());
            assertTrue(channel.getLastActivityTime() > 0);
        }
    
        @Test
        void testChannelFailover() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.22.md

    - k8s.io/utils: da69540 → 4b05e18
    - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.0.20 → v0.0.21
    - sigs.k8s.io/kustomize/api: v0.8.10 → v0.8.11
    - sigs.k8s.io/kustomize/cmd/config: v0.9.12 → v0.9.13
    - sigs.k8s.io/kustomize/kustomize/v4: v4.1.3 → v4.2.0
    - sigs.k8s.io/kustomize/kyaml: v0.10.20 → v0.11.0
    - sigs.k8s.io/structured-merge-diff/v4: v4.1.1 → v4.1.2
    
    ### Removed
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
Back to top