- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 5,169 for String (0.08 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
* it returns is "s". For values in [-499..499] this returns " 0 µs". * * The returned string attempts to be column-aligned to 6 characters. For negative and large values * the returned string may be longer. */ fun formatDuration(ns: Long): String { val s = when { ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s " ns <= -999_500 -> "${(ns - 500_000) / 1_000_000} ms"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java
PluginNotFoundException, PluginVersionNotFoundException; Object getPluginComponent(Plugin plugin, String role, String roleHint) throws PluginManagerException, ComponentLookupException; Map<String, Object> getPluginComponents(Plugin plugin, String role) throws ComponentLookupException, PluginManagerException; /** * @since 2.2.1 */Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
clause/joins_test.go
import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestJoin(t *testing.T) { results := []struct { name string join clause.Join sql string }{ { name: "LEFT JOIN", join: clause.Join{ Type: clause.LeftJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Nov 03 13:03:13 UTC 2022 - 2.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.proceed(chain.request()) .use { a -> assertThat(a.body.string()).isEqualTo("a") } chain.proceed(chain.request()) }, ).build() val call = client.newCall(Request.Builder().url(server.url("/")).build()) val response = call.execute() assertThat(response.body.string()).isEqualTo("b") assertThat(listener.recordedEventTypes()).containsExactly(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsClickLog.java
// ========= /** urlId */ protected String urlId; /** docId */ protected String docId; /** order */ protected Integer order; /** queryId */ protected String queryId; /** queryRequestedAt */ protected LocalDateTime queryRequestedAt; /** requestedAt */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
*/ @Test public void testGetMessage() throws Exception { final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/named_argument_test.go
import ( "database/sql" "errors" "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestNamedArg(t *testing.T) { type NamedUser struct { gorm.Model Name1 string Name2 string Name3 string } DB.Migrator().DropTable(&NamedUser{}) DB.AutoMigrate(&NamedUser{}) namedUser := NamedUser{Name1: "jinzhu1", Name2: "jinzhu2", Name3: "jinzhu3"} DB.Create(&namedUser)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Dec 21 11:50:00 UTC 2021 - 2.7K bytes - Viewed (0) -
cmd/config-common.go
func readConfig(ctx context.Context, store objectIO, configFile string) ([]byte, error) { buf, _, err := readConfigWithMetadata(ctx, store, configFile, ObjectOptions{}) return buf, err } type objectDeleter interface { DeleteObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) } func deleteConfig(ctx context.Context, objAPI objectDeleter, configFile string) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SmbUnsupportedOperationExceptionTest { // Provides a variety of messages including edge cases static Stream<String> messages() { return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null); } @Test @DisplayName("Default constructor sets the expected message and no cause")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
// We know that we have only added non-null Characters. Table<String, Integer, Character> hashCopy = HashBasedTable.create((Table<String, Integer, ? extends Character>) table); Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b'); Table<String, Integer, C> smaller = create("foo", 1, 'a', "bar", 1, 'b'); Table<String, Integer, C> swapOuter = create("bar", 1, 'a', "foo", 1, 'b', "bar", 3, 'c');Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0)