- Sort Score
- Num 10 results
- Language All
Results 4671 - 4680 of 7,132 for String (0.17 seconds)
-
tests/scan_test.go
} type Result struct { Name string Age int } var results []Result for rows.Next() { var result Result if err := DB.ScanRows(rows, &result); err != nil { t.Errorf("should get no error, but got %v", err) } results = append(results, result) } sort.Slice(results, func(i, j int) bool { return strings.Compare(results[i].Name, results[j].Name) <= -1 })Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
/** * Main method to run the locking test. * * @param args command line arguments: [-t numThreads] [-i numIter] [-d delay] url * @throws Exception if an error occurs during test execution */ public static void main(final String[] args) throws Exception { if (args.length < 1) { logger.error("usage: TestLocking [-t <numThreads>] [-i <numIter>] [-d <delay>] url"); System.exit(1); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} }); return result; } private static final class ThrowingTearDown implements TearDown { private final String id; boolean ran = false; ThrowingTearDown(String id) { this.id = id; } @Override public void tearDown() throws Exception { ran = true; throw new RuntimeException(id); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
tests/test_request_params/test_body/test_optional_list.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
private final boolean timeoutSpecified; /** * Constructs a pipe wait request without timeout. * * @param name the pipe name to wait for */ public FsctlPipeWaitRequest(final String name) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = false; this.timeout = 0; } /** * Constructs a pipe wait request with timeout. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
*/ SipHashFunction(int c, int d, long k0, long k1) { checkArgument( c > 0, "The number of SipRound iterations (c=%s) during Compression must be positive.", c); checkArgument( d > 0, "The number of SipRound iterations (d=%s) during Finalization must be positive.", d); this.c = c; this.d = d; this.k0 = k0; this.k1 = k1; } @Override public int bits() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultTransformerManager.java
import static java.util.Objects.requireNonNull; @Singleton @Named public class DefaultTransformerManager implements TransformerManager { private final Map<String, PomArtifactTransformer> transformers; @Inject public DefaultTransformerManager(Map<String, PomArtifactTransformer> transformers) { this.transformers = requireNonNull(transformers); } @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java
return mojoExecution; } public String getLifecyclePhase() { return mojoExecution.getLifecyclePhase(); } public Plugin getPlugin() { final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor(); return mojoDescriptor.getPluginDescriptor().getPlugin(); } @Override public String toString() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
return new WrappedRunnable(command); } } private static final class MockExecutor implements ScheduledExecutorService { String lastMethodCalled = ""; long lastInitialDelay; long lastDelay; TimeUnit lastUnit; void assertLastMethodCalled(String method, long delay, TimeUnit unit) { assertThat(lastMethodCalled).isEqualTo(method); assertEquals(delay, lastDelay);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
mockContext.renewCredentials("hint", new Exception()); }); } @Test @DisplayName("Should get SmbResource") void testGet() throws CIFSException { // Given String url = "smb://server/share/file"; SmbResource mockResource = mock(SmbResource.class); when(mockContext.get(url)).thenReturn(mockResource); // When SmbResource resource = mockContext.get(url);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0)