- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 5,478 for new2 (0.03 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
switch (type) { case EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE: return new EncryptionNegotiateContext(); case PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE: return new PreauthIntegrityNegotiateContext(); case CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE: return new CompressionNegotiateContext(); } return null; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; static final PermittedMetaException UOE = new PermittedMetaException("UnsupportedOperationException") { @Override boolean isPermitted(Exception exception) { return exception instanceof UnsupportedOperationException; } }; static final PermittedMetaException ISE = new PermittedMetaException("IllegalStateException") { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
TransportException noCauseException = new TransportException("No cause"); assertNull(noCauseException.getRootCause()); assertEquals(noCauseException.getCause(), noCauseException.getRootCause()); // Test with cause IOException rootCause = new IOException("IO error"); TransportException withCauseException = new TransportException("With cause", rootCause);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
*/ class ScmTest { @Test void testHashCodeNullSafe() { new Scm().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Scm().equals(null)); new Scm().equals(new Scm()); } @Test void testEqualsIdentity() { Scm thing = new Scm(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
Map<Integer, KerberosKey> keys = new HashMap<>(); KerberosKey hmacKey = new KerberosKey(TEST_PRINCIPAL, new byte[16], PacSignature.ETYPE_ARCFOUR_HMAC, 0); KerberosKey aes128Key = new KerberosKey(TEST_PRINCIPAL, new byte[16], PacSignature.ETYPE_AES128_CTS_HMAC_SHA1_96, 0); KerberosKey aes256Key = new KerberosKey(TEST_PRINCIPAL, new byte[32], PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC))); } der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields))); return collector.toByteArray(); } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000); ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); IOException error = new IOException("Test error"); // Should not throw exception
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)