Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,374 for forNaN (0.07 seconds)

  1. src/main/java/jcifs/smb/SID.java

         * @throws SmbException if the textual format is invalid
         */
        public SID(final String textual) throws SmbException {
            final StringTokenizer st = new StringTokenizer(textual, "-");
            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertNotNull(resp.getNotifyInformation());
            assertEquals(0, resp.getNotifyInformation().size());
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ResourceManager.java

                log.error(sb.toString());
            }
        }
    
        /**
         * Generate a unique resource ID
         */
        private String generateResourceId(AutoCloseable resource) {
            return String.format("%s-%d-%d", resource.getClass().getSimpleName(), System.identityHashCode(resource),
                    resourceIdCounter.incrementAndGet());
        }
    
        /**
         * Start the cleanup task
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
                }
                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
            }
            final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter();
            if (StringUtil.isNotBlank(name)) {
                return request.getParameter(name);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      // mode.
      static int collectionIteratorTesterNumIterations() {
        return 3;
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

          @Override public void writeTo(BufferedSink sink) throws IOException {
            sink.writeUtf8("Numbers\n");
            sink.writeUtf8("-------\n");
            for (int i = 2; i <= 997; i++) {
              sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  7. src/cmd/buildid/buildid.go

    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jun 21 19:58:04 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelper.java

         * Initializes the extension override map by loading configuration from FessConfig.
         * The mappings are loaded from the crawler.document.mimetype.extension.overrides property,
         * where each line contains a mapping in the format ".ext=mime/type".
         */
        @PostConstruct
        public void init() {
            final String overrides = ComponentUtil.getFessConfig().getCrawlerDocumentMimetypeExtensionOverrides();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. .github/workflows/scorecard.yml

              #     of the value entered here.
              publish_results: true
    
          # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
          # format to the repository Actions tab.
          - name: "Upload artifact"
            uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
            with:
              name: SARIF file
              path: results.sarif
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 22:02:44 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

        }
    
        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 10 21:03:40 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top