- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 4,648 for new1 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
byte[] originalSalt = new byte[32]; new Random(42).nextBytes(originalSalt); PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, originalHashAlgos, originalSalt); int encoded = originalContext.encode(buffer, 0); PreauthIntegrityNegotiateContext decodedContext = new PreauthIntegrityNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
* * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() { return new TestsForMapsInJavaUtil().allTests(); } public Test allTests() { TestSuite suite = new TestSuite("java.util Maps"); suite.addTest(testsForCheckedMap()); suite.addTest(testsForCheckedNavigableMap()); suite.addTest(testsForCheckedSortedMap());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly byte[] testData = new byte[] { 1, 2, 3, 4, 5 }; TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
@BeforeEach void setUpStreams() { originalOut = System.out; originalErr = System.err; outContent = new ByteArrayOutputStream(); errContent = new ByteArrayOutputStream(); System.setOut(new PrintStream(outContent)); System.setErr(new PrintStream(errContent)); } @AfterEach void restoreStreams() { System.setOut(originalOut);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @Test public void testWhitespace() throws Exception { final Tokenizer tokenizer = new Tokenizer("\t \n");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
// Test constructor with message and cause String message = "Theme configuration error"; RuntimeException cause = new RuntimeException("Config file not found"); ThemeException exception = new ThemeException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(expected, new String(buf)); assertFullyRead(reader); // read in chunks to fixed array reader = new CharSequenceReader(charSequence); buf = new char[5]; StringBuilder builder = new StringBuilder(); int read; while ((read = reader.read(buf, 0, buf.length)) != -1) { builder.append(buf, 0, read); } assertEquals(expected, builder.toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ApReq"); } ASN1Sequence sequence; try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed Kerberos Ticket", e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
private static final int MAX_PATH_SIZE = 32767; // Statistics private final AtomicLong totalValidations = new AtomicLong(0); private final AtomicLong failedValidations = new AtomicLong(0); private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0); private final AtomicLong integerOverflowsPrevented = new AtomicLong(0); /** * Validate SMB response buffer bounds *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0)