- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 586 for c000 (0.01 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
nf.setMaximumIntegerDigits(2); nf.setMaximumFractionDigits(2); String execTime; try { execTime = nf.format((double) queryResponseList.getExecTime() / 1000); } catch (final Exception e) { execTime = StringUtil.EMPTY; } data.setExecTime(execTime); final String queryId = ComponentUtil.getQueryHelper().generateId();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
*/ protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>(); /** * The number of URLs to fetch when polling. */ protected int pollingFetchSize = 1000; /** * The maximum size of the crawling queue. */ protected int maxCrawlingQueueSize = 100; /** * Creates a new instance of OpenSearchUrlQueueService.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 16.9K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
public void testThreadSafety() throws InterruptedException { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] buffer = new byte[1000]; int numThreads = 10; Thread[] threads = new Thread[numThreads]; // When - multiple threads calling methods simultaneously for (int i = 0; i < numThreads; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Given TestAllocInfo allocInfo = new TestAllocInfo(1000L, 250L); // When - calculate percentage free double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001); } @Test @DisplayName("Should support available space check pattern")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// When type is SID_TYPE_UNKNOWN, getAccountName returns the RID as string // and getDomainName returns the domain part of the SID assertEquals("2000", s.getAccountName()); assertEquals("S-1-5-21-1-2-3", s.getDomainName()); assertEquals(jcifs.SID.SID_TYPE_UNKNOWN, s.getType()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0)