- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,654 for Some (0.23 seconds)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testThroughputCalculation() { long initialThroughput = channelInfo.getThroughput(); assertEquals(0, initialThroughput); // Add some data transfer channelInfo.addBytesSent(1000); channelInfo.addBytesReceived(2000); // Wait a bit to ensure time passes try { Thread.sleep(10);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
// 256 characters long assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); } public void testStringsConsistency() { for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) { assertEquals(HASH_FN.newHasher().putUnencodedChars(s).hash(), HASH_FN.hashUnencodedChars(s)); } } public void testUtf8() { char[] charsA = new char[128];Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { b = entries.get(1); c = entries.get(2); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
getSubjectGenerator() .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements())); sort(entries, Helpers.entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { b = entries.get(1); c = entries.get(2); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
Let's continue with the same file structure as before: ``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Let's say that now the file `main.py` with your **FastAPI** app has some other **path operations**. It has a `GET` operation that could return an error. It has a `POST` operation that could return several errors. Both *path operations* require an `X-Token` header.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closeables.java
* * - It might be preferable to be consistent with the JDK precedent (which they stuck with even * for "UncheckedIOException"). * * - If we change the name, some of our callers break because our Android Lint ParameterName check * doesn't make the exception for com.google.common that internal Error Prone does: b/386402967. */ @SuppressWarnings("IdentifierName")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and * the strategy is selected in the static initializer of AggregateFutureState. This is convenient * and performant but introduces some testing difficulties. This test exercises the two fallback * strategies. * * <ul> * <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
* * <p>This test covers a scenario where we write a smaller amount of data first, then write a * large amount that crosses the threshold (transitioning from "not at threshold" to "over the * threshold"). (We then write some more afterward.) This differs from the existing * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes * more bytes. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Create a buffer with sample data byte[] buffer = new byte[100]; // Fill with some test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int result = resp.readDataWireFormat(buffer, 0, 40);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
ci/official/utilities/setup.sh
export TFCI_INSTALLER_WHL_PROJECT_NAME="$TFCI_INSTALLER_WHL_NIGHTLY_PROJECT_NAME" fi export project_name="$TFCI_INSTALLER_WHL_PROJECT_NAME" fi # Mac builds have some specific setup needs. See setup_macos.sh for details if [[ "${OSTYPE}" =~ darwin* ]]; then source ./ci/official/utilities/setup_macos.sh fi # Create and expand to the full path of TFCI_OUTPUT_DIRCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0)