- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for formatName (0.14 sec)
-
schema/naming.go
return ns.formatName("fk", rel.Schema.Table, ns.toDBName(rel.Name)) } // CheckerName generate checker name func (ns NamingStrategy) CheckerName(table, column string) string { return ns.formatName("chk", table, column) } // IndexName generate index name func (ns NamingStrategy) IndexName(table, column string) string { return ns.formatName("idx", table, ns.toDBName(column)) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0) -
schema/naming_test.go
t.Errorf("invalid column name generated, got %v", columdName) } } func TestFormatNameWithStringLongerThan63Characters(t *testing.T) { ns := NamingStrategy{IdentifierMaxLength: 63} formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString") if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVer180f2c67" {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
format.formatRate(builder, 5500.0); // 5.5 kB/s assertEquals("5.5 kB/s", builder.build()); // Test exact unit thresholds builder = new DefaultMessageBuilder(); format.formatRate(builder, 1000.0); // 1 kB/s assertEquals("1.0 kB/s", builder.build()); builder = new DefaultMessageBuilder(); format.formatRate(builder, 1000000.0); // 1 MB/sRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.Builder() .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) .body("ABC") .build(), ) server.enqueue( MockResponse .Builder() .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES)) .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS)) .body("DEF") .build(),
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
SnapshotVersion sv2 = addSnapshotVersion(source.getVersioning(), "jar", after, "1.0-" + formatDate(after, true) + "-2", 2); SnapshotVersion sv3 = addSnapshotVersion(source.getVersioning(), "pom", after, "1.0-" + formatDate(after, true) + "-2", 2); assertTrue(target.merge(source)); Versioning actualVersioning = target.getVersioning();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
final Map<String, String> params = new LinkedHashMap<>(); params.put("User Info ID", e.getId()); params.put("Created Time", FessFunctions.formatDate(e.getCreatedAt())); params.put("Updated Time", FessFunctions.formatDate(e.getUpdatedAt())); return params; }).get(); } if (SearchLogPager.LOG_TYPE_CLICK.equalsIgnoreCase(logType)) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskLoggerTest.kt
*/ package okhttp3.internal.concurrent import assertk.assertThat import assertk.assertions.isEqualTo import org.junit.jupiter.api.Test class TaskLoggerTest { @Suppress("ktlint") @Test fun formatTime() { assertThat(formatDuration(-3_499_999_999L)).isEqualTo(" -3 s ") assertThat(formatDuration(-3_000_000_000L)).isEqualTo(" -3 s ") assertThat(formatDuration(-2_500_000_000L)).isEqualTo(" -3 s ")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/fe.tld
</example> </function> <function> <description> Returns formatted date from a given value. </description> <name>formatDate</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>java.lang.String formatDate(java.time.ZonedDateTime, java.lang.String)</function-signature> <example> ${fe:formatDate(d, 'yyyy')} </example> </function>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 11:38:54 UTC 2025 - 10.3K bytes - Viewed (0) -
src/archive/tar/format.go
func (f *Format) mustNotBe(f2 Format) { *f &^= f2 } var formatNames = map[Format]string{ formatV7: "V7", FormatUSTAR: "USTAR", FormatPAX: "PAX", FormatGNU: "GNU", formatSTAR: "STAR", } func (f Format) String() string { var ss []string for f2 := Format(1); f2 < formatMax; f2 <<= 1 { if f.has(f2) { ss = append(ss, formatNames[f2]) } } switch len(ss) { case 0: return "<unknown>"
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0)