Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,374 for forNaN (0.06 seconds)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/job/IndexExportJob.java

        }
    
        /**
         * Sets the export format.
         *
         * @param format the format name (e.g. "html", "json")
         * @return this instance for method chaining
         */
        public IndexExportJob format(final String format) {
            this.formatter = createFormatter(format);
            return this;
        }
    
        /**
         * Creates a formatter for the given format name.
         *
         * @param format the format name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. 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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
        for (i in 0 until BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) {
          var format: DateFormat? = BROWSER_COMPATIBLE_DATE_FORMATS[i]
          if (format == null) {
            format =
              SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US).apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. 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)
  7. src/archive/tar/reader.go

    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

        }
    
        ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) {
            new ReleasedVersion(version, format.format(new Date(date)))
        }
    
        ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) {
            releasedVersion("${baseVersion}-${format.format(new Date(date))}", date)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top