- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,014 for Empty (0.01 seconds)
-
cmd/net_test.go
} func TestExtractHostPort(t *testing.T) { testCases := []struct { addr string host string port string expectedErr error }{ {"", "", "", errors.New("unable to process empty address")}, {"localhost:9000", "localhost", "9000", nil}, {"http://:9000/", "", "9000", nil}, {"http://8.8.8.8:9000/", "8.8.8.8", "9000", nil}, {"https://facebook.com:9000/", "facebook.com", "9000", nil}, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} val errorMessage = "Found non-empty test files dir:\n$nonEmptyDirs" if (reportOnly.get()) { println(errorMessage) } else { throw GradleException(errorMessage) } } } /** * Returns non-empty directories: the mapping of directory to at most 4 leftover files' relative path in the directory.Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 11:43:49 GMT 2025 - 12.5K bytes - Click Count (1) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
return authInfo; } } } } } // empty one to prevent NPE return new AuthenticationInfo(); } @Override public ProxyInfo getProxy(String protocol) { MavenSession session = legacySupport.getSession();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java
* @param projectId The {@code <groupId>:<artifactId>:<version>} of the corresponding project, may be {@code null} * to force output of model id and source. * @return The formatted problem location or an empty string if unknown, never {@code null}. */ public static String formatLocation(ModelProblem problem, String projectId) { StringBuilder buffer = new StringBuilder(256);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/admin-server-info.go
} } } } } var memstats runtime.MemStats runtime.ReadMemStats(&memstats) gcStats := debug.GCStats{ // If stats.PauseQuantiles is non-empty, ReadGCStats fills // it with quantiles summarizing the distribution of pause time. // For example, if len(stats.PauseQuantiles) is 5, it will be // filled with the minimum, 25%, 50%, 75%, and maximum pause times.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
cmd/update-notifier_test.go
t.Errorf("Testcase %d: no newer release available but got an update message: %s", i+1, output) case output == "" && testCase.dlURL != "" && testCase.older > 0: t.Errorf("Testcase %d: newer release is available but got empty update message!", i+1) case output == "" && (testCase.dlURL == "" || testCase.older <= 0): // Valid no update message case. No further // validation needed. continue case !strings.Contains(output, line1):
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Click Count (0) -
internal/grid/debug.go
} func dummyRequestValidate(r *http.Request) error { return nil } func dummyTokenValidate(token string) error { if token == "debug" { return nil } return fmt.Errorf("invalid token. want empty, got %s", token) } func dummyNewToken() string { return "debug"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
private @Nullable T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@Nullable T firstOrNull) { this.nextOrNull = firstOrNull; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0) -
src/bufio/net_test.go
"io" "net" "path/filepath" "strings" "sync" "testing" ) // TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server. addr := &net.UnixAddr{
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
private @Nullable T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@Nullable T firstOrNull) { this.nextOrNull = firstOrNull; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.3K bytes - Click Count (0)