- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for formatName (0.05 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 Sep 07 09:35:13 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34:56Z"); assertEquals("2004-04-01T12:34:56.000Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34Z"); assertEquals("2004-04-01T12:34:00.000Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
Registered: Fri Sep 05 11:42:10 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: Thu Sep 04 12:52:25 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 Sep 05 11:42:10 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: Thu Sep 04 12:52:25 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 Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
throw new InvalidAccessTokenException("invalid_token", "The token is expired(" + FessFunctions.formatDate(FessFunctions.date(expiredTime)) + ")."); } stream(accessToken.getPermissions()).of(stream -> stream.forEach(permissionSet::add));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0)