- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 5,233 for news (0.02 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertFalse(loopback.isUsableForChannel()); } @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
ByteSource source = newByteSource(0, 50); int[] counter = new int[1]; ByteSource checker = new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterInputStream(source.openStream()) { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
// For now, just test basic connectivity to RPC endpoint try (java.net.Socket socket = new java.net.Socket()) { socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS); } catch (IOException e) { throw new IOException("Cannot connect to RPC endpoint at " + serverAddress.getHostAddress() + ":" + WITNESS_RPC_PORT, e); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* usual form: * * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * if (bill.status() != Status.UNPAID) { * throw new VerifyException("Unexpected bill status: " + bill.status()); * } * } * * <h3>Only {@code %s} is supported</h3> * * <p>As with {@link Preconditions}, {@code Verify} uses {@link Strings#lenientFormat} to formatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false); byte[] dst = new byte[100]; int result = notifyChange.writeDataWireFormat(dst, 10); assertEquals(0, result); } @Test @DisplayName("Test readSetupWireFormat returns zero") void testReadSetupWireFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
public static Policy permissivePolicy() { return new AdjustablePolicy // Permissions j.u.c. needs directly ( new RuntimePermission("modifyThread"), new RuntimePermission("getClassLoader"), new RuntimePermission("setContextClassLoader"), // Permissions needed to change permissions! new SecurityPermission("getPolicy"), new SecurityPermission("setPolicy"),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data)); SocketInputStream sis = new SocketInputStream(in); // Reading with zero-length array should return 0 without consuming data assertEquals(0, sis.read(new byte[0])); // Verify data can still be readRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
this.transport = transport.acquire(); this.trees = new CopyOnWriteArrayList<>(); this.credentials = tf.getCredentials().unwrap(CredentialsInternal.class).clone(); // Initialize multi-channel support this.channelManager = new ChannelManager(tf, this); // Initialize SMB3 feature managers this.leaseManager = new LeaseManager(tf);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
@GwtIncompatible // Iterables.filter(Iterable, Class) public void testFilterByType_iterator() throws Exception { HasBoth hasBoth = new HasBoth(); Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA()); Iterable<TypeB> blist = filter(alist, TypeB.class); assertThat(blist).containsExactly(hasBoth).inOrder(); } public void testTransform_iterator() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java
Collections.addAll( problems2, new DefaultModelProblem( "Deprecated plugin usage", ModelProblem.Severity.WARNING, null, "pom.xml", 15, 3, null, null)); DefaultProjectBuildingResult result2 = new DefaultProjectBuildingResult("com.example:project2:1.0", new File("project2/pom.xml"), problems2); results.add(result2);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jul 26 19:15:57 UTC 2025 - 6.7K bytes - Viewed (0)