- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 814 for 5000 (0.3 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val request = Request.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
} public void test_inheritance_setReloadInterval() { assertEquals(1000L, relatedQueryHelper.reloadInterval); relatedQueryHelper.setReloadInterval(5000L); assertEquals(5000L, relatedQueryHelper.reloadInterval); } public void test_inheritance_update() { List<RelatedQuery> testData = new ArrayList<>();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
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) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS, Long.MAX_VALUE, SECONDS, new ArrayBlockingQueue<Runnable>(1000)); executorService.prestartAllCoreThreads(); AtomicInteger integer = new AtomicInteger(); // Execute a bunch of tasks to ensure that our threads are allocated and hotRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
if (input == null) { return "null"; } // Remove control characters and limit length String sanitized = input.replaceAll("[\\x00-\\x1f]", ""); if (sanitized.length() > 1000) { sanitized = sanitized.substring(0, 997) + "..."; } return sanitized; } /** * Validates that a value is within the specified range *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0)