- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,067 for formnet (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
FileSizeFormat format = new FileSizeFormat(); if (unit == null) { assertEquals(expected, format.format(input)); } else { assertEquals(expected, format.format(input, unit)); } } @Test void testNegativeProgressedSize() { FileSizeFormat format = new FileSizeFormat();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10")); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
} return thread; } }; } // weird case in which users pass the format string but not the associated arguments @SuppressWarnings("AnnotateFormatMethod") private static String format(String format, Object... args) { return String.format(Locale.ROOT, format, args); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java
private final Date startTime; private final String format; private String formattedDate; public BuildTimestampValueSource(Date startTime, String format) { super(false); this.startTime = startTime; this.format = format; } @Override public Object getValue(String expression) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
} } // --- format() fluent API tests --- @Test public void test_format_returnsThis() { final IndexExportJob result = indexExportJob.format("html"); assertSame(indexExportJob, result); } @Test public void test_format_unsupportedFormat() { try { indexExportJob.format("xml");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertTrue(log.startsWith("Mem:{used ")); assertTrue(log.contains(", heap ")); assertTrue(log.contains(", max ")); assertTrue(log.endsWith("}")); // Verify format contains expected memory units assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*")); } @Test public void test_byteCountToDisplaySize_edgeCases() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
cmd/fmt-gen.go
} zipFile, err := os.Create("format.json.zip") if err != nil { log.Fatalf("failed to create format.json.zip: %v", err) } defer zipFile.Close() fmtZipW := zip.NewWriter(zipFile) defer fmtZipW.Close() for _, pool := range pools { // for each pool setCount, setDriveCount := pool.SetCount, pool.DrivesPerSet format := newFormatErasureV3(setCount, setDriveCount) format.ID = deploymentID
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
} public String format(long size) { return format(size, null); } public String format(long size, ScaleUnit unit) { return format(size, unit, false); } public String format(long size, ScaleUnit unit, boolean omitSymbol) { if (size < 0L) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Apr 22 22:13:51 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
String format = "super-duper-thread-%s"; ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) { assertThat(factory.newThread(monitoredRunnable).getName()) .isEqualTo(rootLocaleFormat(format, i)); } } public void testNameFormatWithPercentD_custom() { String format = "super-duper-thread-%d";Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
src/archive/tar/common.go
wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too } format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted } if format == FormatUnknown { switch h.Format { case FormatUSTAR: err = headerError{"Format specifies USTAR", whyNoUSTAR, whyOnlyPAX, whyOnlyGNU} case FormatPAX: err = headerError{"Format specifies PAX", whyNoPAX, whyOnlyGNU} case FormatGNU:
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0)