- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 6,205 for newA (0.03 seconds)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
byte[] buffer = new byte[4]; SMBUtil.writeInt2(input, buffer, 0); int result = SMBUtil.readInt2(buffer, 0); assertEquals(expected & 0xFFFF, result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
final long original = 0x1122334455667788L; NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
throw new UnsupportedOperationException(); } @Override public boolean isShutdown() { throw new UnsupportedOperationException(); } @Override public boolean isTerminated() { throw new UnsupportedOperationException(); } @Override public void shutdown() { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
// Very unlikely to be equal assertNotEquals(new String(random1), new String(random2)); } @Test @DisplayName("Should handle AES encryption operations") void testAESOperations() throws Exception { // Given byte[] key = new byte[16]; // 128-bit key byte[] iv = new byte[16]; // 128-bit IVCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
import okhttp3.Request; import okhttp3.Response; public final class CurrentDateHeader { private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new CurrentDateInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 31 15:32:50 GMT 2018 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
long originalValue = 0x123456789ABCDEFL; FileEndOfFileInformation original = new FileEndOfFileInformation(originalValue); // Encode byte[] buffer = new byte[8]; int encoded = original.encode(buffer, 0); assertEquals(8, encoded); // Decode FileEndOfFileInformation decoded = new FileEndOfFileInformation(); int decodedBytes = decoded.decode(buffer, 0, 8);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Write completely empty file try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { // Write nothing } // Create a new CharMappingFile instance to ensure clean state CharMappingFile emptyMappingFile = new CharMappingFile("empty_test", testFile.getAbsolutePath(), new Date()); emptyMappingFile.manager(dictionaryManager);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
import_iam_content_in_new_minio() { echo "Importing IAM content in new minio instance." # Assume current minio binary exists. MINIO_CI_CD=1 ./minio server /tmp/data/{1...4} & sleep 5 set -x mc alias set new-minio http://localhost:9000 minioadmin minioadmin echo "BEFORE IMPORT mappings:" mc ready new-minio mc idp ldap policy entities new-minio mc admin cluster iam import new-minio ./old-minio-iam-info.zip echo "AFTER IMPORT mappings:"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 15:01:29 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/SidResolverTest.java
doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class)); assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids)); } @Test void testResolveSids_WithNullServerName() throws CIFSException { doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.5K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy
ReleasedVersions releasedVersions(ReleasedVersion snapshot, ReleasedVersion rc, List<ReleasedVersion> versions) { new ReleasedVersions(snapshot, rc, versions) } ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 5.4K bytes - Click Count (0)