- Sort Score
- Num 10 results
- Language All
Results 761 - 770 of 6,076 for newE (0.06 seconds)
-
src/main/java/jcifs/smb/SpnegoContext.java
try { spnegoToken = switch (token[0]) { case (byte) 0x60 -> new NegTokenInit(token); case (byte) 0xa1 -> new NegTokenTarg(token); default -> throw new SpnegoException("Invalid token type"); }; return spnegoToken; } catch (final IOException e) { throw new SpnegoException("Invalid token"); } } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger allocations = new AtomicInteger(0); AtomicInteger releases = new AtomicInteger(0); AtomicLong totalAllocTime = new AtomicLong(0); AtomicLong totalReleaseTime = new AtomicLong(0); long overallStart = System.nanoTime();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
} @Test void testSetInstanceMultipleTimes() { // Test setting instance multiple times PrintStream stream1 = new PrintStream(new ByteArrayOutputStream()); PrintStream stream2 = new PrintStream(new ByteArrayOutputStream()); LogStream.setInstance(stream1); LogStream instance1 = LogStream.getInstance(); LogStream.setInstance(stream2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (0) -
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") { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 21.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
*/ @Test public void testIsAncestor() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null); final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1); final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2); assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
// Test with all zeros byte[] zeroFileId = new byte[16]; Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } request.setFileId(fileId); // Verify by writing to buffer and checking the fileId position byte[] buffer = new byte[1024];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
private static final ImmutableRangeSet<Comparable<?>> EMPTY = new ImmutableRangeSet<>(ImmutableList.of()); private static final ImmutableRangeSet<Comparable<?>> ALL = new ImmutableRangeSet<>(ImmutableList.of(Range.all())); /** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
public Integer getCookieDefaultExpireAsInteger() { return null; } }); FessCookieResourceProvider provider = new FessCookieResourceProvider(ComponentUtil.getFessConfig(), new InvertibleCryptographer("AES", "1234567890123456", null) { @Override public String encrypt(String plainText) { return plainText;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0)