- Sort Score
- Result 10 results
- Languages All
Results 1561 - 1570 of 5,478 for newA (0.02 sec)
-
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
public class Crc32cHashFunctionTest extends TestCase { public void testEmpty() { assertCrc(0, new byte[0]); } public void testZeros() { // Test 32 byte array of 0x00. byte[] zeros = new byte[32]; assertCrc(0x8a9136aa, zeros); } public void testZeros100() { // Test 100 byte array of 0x00. byte[] zeros = new byte[100]; assertCrc(0x07cb9ff6, zeros); } public void testFull() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
// Start with "%--" and fill in the blanks char[] dest = new char[3]; dest[0] = '%'; dest[2] = upperHexDigits[cp & 0xF]; dest[1] = upperHexDigits[cp >>> 4]; return dest; } else if (cp <= 0x7ff) { // Two byte UTF-8 characters [cp >= 0x80 && cp <= 0x7ff] // Start with "%--%--" and fill in the blanks char[] dest = new char[6]; dest[0] = '%'; dest[3] = '%';
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java
*/ public class OkHttpCaller { public static Call callOkHttp(HttpUrl url) { OkHttpClient client = new OkHttpClient .Builder() .eventListenerFactory(new LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT)) .build(); return client.newCall(new Request.Builder().url(url).build()); }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
@Override public byte[] toByteArray() throws IOException { // Simple implementation for testing purposes return new byte[0]; } } @BeforeEach void setUp() { message = new TestNtlmMessage(); } @Test void testGetAndSetFlags() { // Test setting and getting flags int testFlags = 0x12345678;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
AvPairs.replace(serverAvPairs, new AvFlags(curFlags)); } AvPairs.replace(serverAvPairs, new AvTimestamp(ts)); if (targetName != null) { AvPairs.replace(serverAvPairs, new AvTargetName(targetName)); } // possibly add channel bindings AvPairs.replace(serverAvPairs, new AvPair(0xa, new byte[16]));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Given FileBasicInfo originalInfo = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES); byte[] buffer = new byte[64]; // When - Encode int bytesEncoded = originalInfo.encode(buffer, 0); // When - Decode FileBasicInfo decodedInfo = new FileBasicInfo();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
SmbException ex = new SmbException(0, root); assertSame(root, ex.getRootCause()); } /** * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}. */ @Test @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status") void testStringConstructor() { SmbException ex = new SmbException("custom message");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
checkNotNull(file); checkNotNull(charset); return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset)); } /** * Returns a new {@link ByteSource} for reading bytes from the given file. * * @since 14.0 */ public static ByteSource asByteSource(File file) { return new FileByteSource(file); } private static final class FileByteSource extends
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
final Class<?> targetClass = target == null ? null : target.getClass(); throw new ClIllegalArgumentException("target", "ECL0098", new Object[] { clazz.getName(), clazz.getClassLoader(), propertyType.getName(), propertyType.getClassLoader(),
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0)