- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 945 for useEmpty (0.07 sec)
-
cmd/net_test.go
}{ {set.CreateStringSet("127.0.0.1")}, } for _, testCase := range testCases { ipList := mustGetLocalIP4() if testCase.expectedIPList != nil && testCase.expectedIPList.Intersection(ipList).IsEmpty() { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } func TestGetHostIP(t *testing.T) { testCases := []struct { host stringRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
internal/event/target/webhook.go
ClientKey string `json:"clientKey"` } // Validate WebhookArgs fields func (w WebhookArgs) Validate() error { if !w.Enable { return nil } if w.Endpoint.IsEmpty() { return errors.New("endpoint empty") } if w.QueueDir != "" { if !filepath.IsAbs(w.QueueDir) { return errors.New("queueDir path should be absolute") } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
resourceManager.registerResource(resource); var activeResources = resourceManager.getActiveResources(); assertNotNull(activeResources); assertFalse(activeResources.isEmpty()); boolean found = activeResources.stream().anyMatch(desc -> desc.contains("TestResource")); assertTrue(found); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
void shouldReturnMeaningfulToString() { String result = transport.toString(); assertTrue(result.startsWith("Transport")); assertFalse(result.isEmpty()); } @Test @DisplayName("should handle response map operations") void shouldHandleResponseMapOperations() { assertEquals(0, transport.getResponseMapSize());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
String localRepository = userSettings.getLocalRepository(); if (localRepository != null && !localRepository.isEmpty()) { File file = new File(localRepository); if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) { userSettings.setLocalRepository(file.getAbsolutePath()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* | `http://a%20b:c%20d@host/` | `"a%20b"` | */ @get:JvmName("encodedUsername") val encodedUsername: String get() { if (username.isEmpty()) return "" val usernameStart = scheme.length + 3 // "://".length() == 3. val usernameEnd = url.delimiterOffset(":@", usernameStart, url.length) return url.substring(usernameStart, usernameEnd) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} public void testLineReading() throws IOException { File temp = createTempFile(); assertThat(Files.readFirstLine(temp, UTF_8)).isNull(); assertTrue(Files.readLines(temp, UTF_8).isEmpty()); PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8)); w.println("hello"); w.println(""); w.println(" world "); w.println(""); w.close();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
assertNotNull(encData.getUserAuthorizations()); // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case assertTrue(encData.getUserAuthorizations().isEmpty()); } /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
* @param paramMap The parameters. * @return The converted value. */ protected Object convertValue(final String scriptType, final String template, final Map<String, Object> paramMap) { if (StringUtil.isEmpty(template)) { return StringUtil.EMPTY; } if (paramMap.containsKey(template)) { return paramMap.get(template); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.6K bytes - Viewed (0)