- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 4,346 for new2 (0.97 sec)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageFromBytes() throws IOException { // Given - Create a Type 1 message and convert to bytes Type1Message original = new Type1Message(mockContext); byte[] messageBytes = original.toByteArray(); // When Type1Message parsed = new Type1Message(messageBytes); // Then // Note: getType() method does not exist in Type1Message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
testRotate(new long[] {1, 2}, -1, new long[] {2, 1}); testRotate(new long[] {1, 2}, -2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 0, new long[] {1, 2}); testRotate(new long[] {1, 2}, 1, new long[] {2, 1}); testRotate(new long[] {1, 2}, 2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 3, new long[] {2, 1}); testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
testRotate(new short[] {1, 2}, -3, new short[] {2, 1}); testRotate(new short[] {1, 2}, -1, new short[] {2, 1}); testRotate(new short[] {1, 2}, -2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 0, new short[] {1, 2}); testRotate(new short[] {1, 2}, 1, new short[] {2, 1}); testRotate(new short[] {1, 2}, 2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } } // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look // larger than they are.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
* * <pre> * TestLogHandler handler; * * protected void setUp() throws Exception { * super.setUp(); * handler = new TestLogHandler(); * SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* Creates and returns an initial context. * * @return the initial context */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /** * Creates and returns an initial context using the specified environment. * * @param env
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) { when(mockPrincipal.getName()).thenReturn("user1"); NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("user1", request.getRemoteUser()); assertSame(mockPrincipal, request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else { throw new ResourceDoesNotExistException("No content provided for " + resource.getName()); } } @Override public void fillOutputData(OutputData outputData) throws TransferFailedException { outputData.setOutputStream(new ByteArrayOutputStream()); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
highlightedQuerySet = new HashSet<>(); request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet); fieldLogMap = (Map<String, List<String>>) request.getAttribute(Constants.FIELD_LOGS); if (fieldLogMap == null) { fieldLogMap = new HashMap<>(); request.setAttribute(Constants.FIELD_LOGS, fieldLogMap);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0)