- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,160 for cases (0.02 seconds)
-
cmd/copy-part-range_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "testing" // Test parseCopyPartRange() func TestParseCopyPartRangeSpec(t *testing.T) { // Test success cases. successCases := []struct { rangeString string offsetBegin int64 offsetEnd int64 }{ {"bytes=2-5", 2, 5}, {"bytes=2-9", 2, 9}, {"bytes=2-2", 2, 2}, {"bytes=0000-0006", 0, 6}, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
} /** * Override to return a chaining listenableFuture that returns the result of getSuccessfulResult() * when inputFuture returns VALID_INPUT_DATA, and sets the exception to EXCEPTION in all other * cases. */ protected abstract ListenableFuture<T> buildChainingFuture(ListenableFuture<Integer> inputFuture); /** * Override to return the result when VALID_INPUT_DATA is passed in to the chaining
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java
} /** * Formats message out of problems: problems are sorted (in natural order of {@link BuilderProblem.Severity}) * and then a list is built. These exceptions are usually thrown in "fatal" cases (and usually prevent Maven * from starting), and these exceptions may end up very early on output. * * @param message the base message to enhanceCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
* parameter word (the session identifier) is written in little‑endian form * and that the {@code toString} helper contains the expected values. * * <p>The tests also exercise edge cases such as negative (wrap‑around) session * identifiers and confirm that the writer does not alter any internal state. *</p> */ @ExtendWith(MockitoExtension.class) class SmbComFindClose2Test { @Mock
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-python-types.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/SourceSinkFactory.java
/** * Returns the data to expect the source or sink to contain given the data that was used to create * the source or written to the sink. Typically, this will just return the input directly, but in * some cases it may alter the input. For example, if the factory returns a sliced view of a * source created with some given bytes, this method would return a subsequence of the given * (byte[]) data. */ T getExpected(T data);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
* is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for * those classes explore numerous corner cases. The intent here is to confirm that everything is * wired up properly. * * @author Craig Berry */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public final class HostSpecifierTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 2, 2)); } @Test @DisplayName("initSecContext null token edge cases") void testInitSecContextNullToken() throws Exception { DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, false, null, null, 0, false); // len == 0 is allowed and returns empty token
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertTrue("Timeout values should be configurable", true); // Test edge cases generator.setCommandTimeout(0L); generator.setCommandTimeout(-1L); generator.setCommandTimeout(Long.MAX_VALUE); assertTrue("Timeout edge cases should be handled", true); } // Test ProcessDestroyer inner class @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
/** * A sensible implementation of {@link NavigableSet#descendingSet} in terms of the other methods * of {@link NavigableSet}, notably including {@link NavigableSet#descendingIterator}. * * <p>In many cases, you may wish to override {@link ForwardingNavigableSet#descendingSet} to * forward to this implementation or a subclass thereof. * * @since 12.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0)