- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 5,324 for newA (0.08 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
FileSizeFormat format = new FileSizeFormat(); assertEquals(expected, format.formatProgress(progressedSize, totalSize)); } @Test void testFormatRate() { FileSizeFormat format = new FileSizeFormat(); // Test bytes per second MessageBuilder builder = new DefaultMessageBuilder(); format.formatRate(builder, 5.0);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
srvsvc.ShareInfo1 shareInfo = new srvsvc.ShareInfo1(); shareInfo.netname = "SingleShare"; shareInfo.type = 2; shareInfo.remark = "Single share remark"; // Create ShareInfoCtr1 with one share srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1(); shareInfoCtr1.count = 1; shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
int pos = 0; for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if (readULong(material, pos) != NTLMSSP_TYPE1) { throw new IOException("Not a Type 1 message."); } pos += 4; final int flags = readULong(material, pos);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
break; default: throw new SmbException("Invalid operation for " + service + " service"); } break; default: throw new SmbException("Invalid operation for " + service + " service" + request); } } request.tid = tid;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
import org.apache.maven.project.MavenProject; public class BuildPlan { private final Map<MavenProject, Map<String, BuildStep>> plan = new LinkedHashMap<>(); private final Map<MavenProject, List<MavenProject>> projects; private final Map<String, String> aliases = new HashMap<>(); private volatile Set<String> duplicateIds; private volatile List<BuildStep> sortedNodes; BuildPlan() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 28 12:11:25 UTC 2025 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>(); @Override public Key createKey( Plugin plugin, ClassLoader parentRealm, Map<String, ClassLoader> foreignImports, DependencyFilter dependencyFilter, List<RemoteRepository> repositories, RepositorySystemSession session) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
} localRepositoryPath = new File(path, "repository").getAbsolutePath(); } try { return repositorySystem.createLocalRepository(new File(localRepositoryPath)); } catch (Exception e) { throw new MavenExecutionRequestPopulationException("Cannot create local repository.", e); } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
@DisplayName("writeSetupWireFormat returns 0 for all indices") void writeSetupWireFormatReturnsZero(int index) { TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0"); } @ParameterizedTest @ValueSource(ints = { 0, 5, -5, Integer.MAX_VALUE })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
try { return new URL(null, spec, new Handler()); } catch (MalformedURLException e) { throw new AssertionError("Failed to create SMB URL: " + spec, e); } } // Utility to build a minimal locator for connect tests private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) { return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share")); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0)