- Sort Score
- Result 10 results
- Languages All
Results 3421 - 3430 of 4,820 for If (0.01 sec)
-
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
.addTrustedCertificate(letsEncryptCertificateAuthority) .addTrustedCertificate(entrustRootCertificateAuthority) .addTrustedCertificate(comodoRsaCertificationAuthority) // Uncomment if standard certificates are also required. //.addPlatformTrustedCertificates() .build(); client = new OkHttpClient.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
import java.util.Iterator; import java.util.NavigableSet; import java.util.SortedSet; import java.util.TreeSet; import org.jspecify.annotations.Nullable; /** * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually * comparable. This implementation passes the navigable set test suites. * * @author Louis Wasserman */ @GwtIncompatible public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
int originalSize = collection.size(); Iterator<E> iterator = collection.iterator(); Object element = iterator.next(); // If it's an Entry, it may become invalid once it's removed from the Map. Copy it. if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
List<V> expectedValues = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { if (entry.getKey().equals(key)) { expectedValues.add(entry.getValue()); } } Collection<V> collection = multimap().asMap().get(key); if (expectedValues.isEmpty()) { assertNull(collection); } else { assertEqualIgnoringOrder(expectedValues, collection);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
return backingMap; } @SuppressWarnings("unchecked") // value could not get in if not a T private <T extends B> @Nullable T trustedPut( TypeToken<@NonNull T> type, @ParametricNullness T value) { return (T) backingMap.put(type, value); } @SuppressWarnings("unchecked") // value could not get in if not a T private <T extends @NonNull B> @Nullable T trustedGet(TypeToken<T> type) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmFlags.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.ntlmssp; /** * Flags used during negotiation of NTLMSSP authentication. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
// SMB1 should not be SMB2 assertFalse(DialectVersion.SMB1.isSMB2()); // All other versions should be SMB2 for (DialectVersion version : DialectVersion.values()) { if (version != DialectVersion.SMB1) { assertTrue(version.isSMB2(), "Version " + version + " should be SMB2"); } } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
// public so that it can be referenced in generated GWT tests. @Override public void setUp() throws Exception { if (setUp != null) { setUp.run(); } } // public so that it can be referenced in generated GWT tests. @Override public void tearDown() throws Exception { if (tearDown != null) { tearDown.run(); } } // public so that it can be referenced in generated GWT tests.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.3K bytes - Viewed (0) -
cmd/metrics-v3-cluster-iam.go
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "sync/atomic" "time" ) const ( lastSyncDurationMillis = "last_sync_duration_millis"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 02 08:20:42 UTC 2024 - 4.5K bytes - Viewed (0)