- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,008 for new (0.01 sec)
-
src/test/java/jcifs/smb/Kerb5ContextTest.java
when(src.export()).thenReturn(buildExportName(new Oid("1.2.3"), "client")); when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service")); when(gssContext.getSrcName()).thenReturn(src); when(gssContext.getTargName()).thenReturn(targ); when(gssContext.getMech()).thenReturn(new Oid("1.2.3")); assertNull(ctx.searchSessionKey(new javax.security.auth.Subject())); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
*/ abstract class ExtensibleEnums { /** * Creates a new Language instance with the specified ID. * * @param id the identifier for the language * @return a new Language instance */ static Language language(String id) { return new DefaultLanguage(id); } /** * Creates a new PathScope instance with the specified ID, project scope, and dependency scopes. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException") void seToIoeInterruptedMapping() { SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom"))); IOException ioe = SmbFileInputStream.seToIoe(se); assertTrue(ioe instanceof InterruptedIOException);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
byte[] a = new byte[n]; for (int i = 0; i < n; i++) { a[i] = (byte) i; } return a; } @ParameterizedTest @MethodSource("byteEncodableArgs") @DisplayName("encode() copies bytes correctly and returns size") void encodeCopiesAndReportsSize(byte[] src, int off, int len, int dstIndex) { Encodable enc = new ByteEncodable(src, off, len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// Given String testString = "Hello"; byte[] buffer = new byte[testString.length()]; // When - Manual string encoding using individual bytes byte[] strBytes = testString.getBytes(); System.arraycopy(strBytes, 0, buffer, 0, strBytes.length); // Then String decoded = new String(buffer); assertEquals(testString, decoded); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type); assertEquals(6, packet.length); } @Test void writeTrailerWireFormatShouldReturnZero() { // Test that writeTrailerWireFormat always returns 0, as per its implementation. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
if (dest.exists() && !dest.canWrite()) { return; } try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src)); BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) { final byte[] buf = new byte[1024]; int length; while (-1 < (length = in.read(buf))) { out.write(buf, 0, length);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
mockConfig = mock(Configuration.class); outputBuffer = new byte[1024]; outputBufferOffset = 0; response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset); } @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testEncode() { byte[] buffer = new byte[1024]; int length = response.encode(buffer, 0); assertTrue(length >= 0); } @Test @DisplayName("Test decode operation") void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0)