- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 444 for trusted (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next().member); } /* * The behavior of toString() and iteration is tested by LinkedHashMultiset, * which shares a lot of code with HashMultiset and has deterministic * iteration order. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
) } private fun updateCompatibilityDoc(latestKotlinVersions: List<String>) { val docFile = compatibilityDocFile.get().asFile val linePrefix = "Gradle is tested with Kotlin" var lineFound = false docFile.writeText( docFile.readLines().joinToString(separator = "\n", postfix = "\n") { line -> if (line.startsWith(linePrefix)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 23 18:27:26 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
import java.util.Random; import junit.framework.TestSuite; /** * Unit test for {@link Files}. * * <p>Some methods are tested in separate files: * * <ul> * <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}. * <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}. * </ul> * * @author Chris Nokleberg */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
utils/utils_test.go
trimLen: 1, expected: []int{1, 2}, }, { name: "Empty slice", input: []int{}, trimLen: 2, expected: []int{}, }, { name: "Negative trim length (should be treated as zero)", input: []int{1, 2, 3}, trimLen: -1, expected: []int{1, 2, 3}, }, } for _, testcase := range tests { t.Run(testcase.name, func(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
It is also built to work as a future reference so you can come back and see exactly what you need. ## Run the code All the code blocks can be copied and used directly (they are actually tested Python files). To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with: <div class="termy"> ```console
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 21:52:09 UTC 2024 - 6K bytes - Viewed (0) -
doc/godebug.md
Starting in Go 1.21, the Go toolchain treats a `//go:debug` directive with an unrecognized GODEBUG setting as an invalid program. Programs with more than one `//go:debug` line for a given setting are also treated as invalid. (Older toolchains ignore `//go:debug` directives entirely.) The defaults that will be compiled into a main package are reported by the command: {{raw `
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
*/ protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) { tester.setDistinctValues(type, value1, value2); } /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */ protected final void ignoreClasses(Predicate<? super Class<?>> condition) { this.classFilter = and(this.classFilter, not(condition)); } private static AssertionError sanityError(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RecordingProxySelector import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* public class Books { * public static Book hardcover(String title) {...} * public static Book paperback(String title) {...} * } * </pre> * * <p>And all the created {@code Book} instances can be tested with: * * <pre> * new ClassSanityTester() * .forAllPublicStaticMethods(Books.class) * .thatReturn(Book.class) * .testEquals(); // or testNulls(), testSerializable() etc. * </pre> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
internal/crypto/metadata.go
// information - e.g. the SSE-C key - from the metadata map. // It has the same semantics as RemoveSensitiveHeaders. func RemoveSensitiveEntries(metadata map[string]string) { // The functions is tested in TestRemoveSensitiveHeaders for compatibility reasons delete(metadata, xhttp.AmzServerSideEncryptionCustomerKey) delete(metadata, xhttp.AmzServerSideEncryptionCopyCustomerKey)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 6.4K bytes - Viewed (0)