- Sort Score
- Result 10 results
- Languages All
Results 3651 - 3660 of 3,760 for IT (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
// The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow assertThrows(UnsupportedOperationException.class, () -> otherWay.add("nope")); // And it can't shrink assertThrows(UnsupportedOperationException.class, () -> otherWay.remove(2)); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
.isEqualTo(0xFFEEDDCC); } public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Ints.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { int num = r.nextInt(); assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num); r.nextBytes(b);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
} }; public void testAnyAndNone_logicalOps() throws Exception { // These are testing behavior that's never promised by the API, but since // we're lucky enough that these do pass, it saves us from having to write // more excruciating tests! Hooray! assertSame(CharMatcher.any(), CharMatcher.none().negate()); assertSame(CharMatcher.none(), CharMatcher.any().negate());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testAsList_toArray_roundTrip() { double[] array = {(double) 0, (double) 1, (double) 2}; List<Double> list = Doubles.asList(array); double[] newArray = Doubles.toArray(list); // Make sure it returned a copy list.set(0, (double) 4); assertThat(newArray).isEqualTo(new double[] {(double) 0, (double) 1, (double) 2}); newArray[1] = (double) 5; assertThat((double) list.get(1)).isEqualTo((double) 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
// The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow assertThrows(UnsupportedOperationException.class, () -> otherWay.add("nope")); // And it can't shrink assertThrows(UnsupportedOperationException.class, () -> otherWay.remove(2)); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
if err != nil { return nil, fmt.Errorf("cannot parse proto message: %v", err) } if err = checkFields(un); err != nil { return nil, err } // If object to validate has no namespace, set it (the validity of a CR // may depend on its namespace; for example a VirtualService with exportTo=".") if obj.Namespace == "" { // If the user didn't specify --namespace, and is validating a CR with no namespace, use "default"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
excludedPackages.add("org.gradle.platform.base.test"); return excludedPackages; } // TODO: This doesn't really make sense to be part of the user manual generation, but it's so tied up into it // it's left here for a future project. private void generateDefaultImports(Project project, TaskContainer tasks, GradleDocumentationExtension extension) { List<String> excludedPackages = getDefaultExcludedPackages();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Mar 01 05:46:51 UTC 2024 - 17.7K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt
val eclipseSisuPlexus = "org.eclipse.sisu:org.eclipse.sisu.plexus" val errorProneAnnotations = "com.google.errorprone:error_prone_annotations" val fastutil = "it.unimi.dsi:fastutil" val gcs = "com.google.apis:google-api-services-storage" val googleApiClient = "com.google.api-client:google-api-client" val googleHttpClient = "com.google.http-client:google-http-client"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 29 08:06:17 UTC 2024 - 15.5K bytes - Viewed (0) -
gorm.go
const preparedStmtDBKey = "preparedStmt" // Config GORM config type Config struct { // GORM perform single create, update, delete operations in transactions by default to ensure database data integrity // You can disable it by setting `SkipDefaultTransaction` to true SkipDefaultTransaction bool // NamingStrategy tables, columns naming strategy NamingStrategy schema.Namer // FullSaveAssociations full save associations FullSaveAssociations bool
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:29:48 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
val peekedHeader = reader.peekHeader() ?: throw ProtocolException("expected a value at $reader") val choice = choices.firstOrNull { it.matches(peekedHeader) } ?: throw ProtocolException( "expected a matching choice but was $peekedHeader at $reader", ) return choice to choice.fromDer(reader) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0)