Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 707 for parse (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            try {
                stopwordsFile.reload(null, failingStream);
                fail("Should throw DictionaryException");
            } catch (DictionaryException e) {
                assertTrue(e.getMessage().contains("Failed to parse"));
            }
        }
    
        // Test update with InputStream
        public void test_update_withInputStream() throws IOException {
            String content = "new1\n" + "new2\n" + "new3\n";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                fileIdField.setAccessible(true);
                assertArrayEquals(fileId, (byte[]) fileIdField.get(notification));
            }
    
            @Test
            @DisplayName("Should correctly parse reserved fields")
            void testReservedFieldsAreSkipped() throws Exception {
                byte[] buffer = new byte[64];
    
                // Structure with specific values in reserved fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       */
      @get:JvmName("cacheControl")
      val cacheControl: CacheControl
        get() {
          var result = lazyCacheControl
          if (result == null) {
            result = CacheControl.parse(headers)
            lazyCacheControl = result
          }
          return result
        }
    
      @JvmName("-deprecated_cacheControl")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    file = new SmbFile(filePath, cifsContext.withCredentials(getAuthenticator(smbAuthentication)));
                }
            } catch (final MalformedURLException e) {
                logger.warn("Could not parse url: {}", filePath, e);
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Processing SmbFile: {}", filePath);
            }
    
            try {
                if (file == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(validHost);
    
            // Invalid entries should not be found or may have incorrect parsing
            // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently
            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    func (sys *BucketTargetSys) getRemoteARNForPeer(bucket string, peer madmin.PeerInfo) string {
    	sys.RLock()
    	defer sys.RUnlock()
    	tgts := sys.targetsMap[bucket]
    	for _, target := range tgts {
    		ep, _ := url.Parse(peer.Endpoint)
    		if target.SourceBucket == bucket &&
    			target.TargetBucket == bucket &&
    			target.Endpoint == ep.Host &&
    			target.Secure == (ep.Scheme == "https") &&
    			target.Type == madmin.ReplicationService {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		return true
    	}
    	return false // in progress or completed but expired
    }
    
    // parseRestoreObjStatus parses restoreHdr from AmzRestore header. If the value is valid it returns a
    // restoreObjStatus value with the status and expiry (if any). Otherwise returns
    // the empty value and an error indicating the parse failure.
    func parseRestoreObjStatus(restoreHdr string) (restoreObjStatus, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    	if len(in.ifdefStack) == 0 {
    		in.Error("unmatched #endif")
    	}
    	in.ifdefStack = in.ifdefStack[:len(in.ifdefStack)-1]
    }
    
    // #include processing.
    func (in *Input) include() {
    	// Find and parse string.
    	tok := in.Stack.Next()
    	if tok != scanner.String {
    		in.expectText("expected string after #include")
    	}
    	name, err := strconv.Unquote(in.Stack.Text())
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Parses a media type from its string representation.
       *
       * @throws IllegalArgumentException if the input is not parsable
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static MediaType parse(String input) {
        checkNotNull(input);
        Tokenizer tokenizer = new Tokenizer(input);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

          if (input.startsWith(":", startIndex = i)) {
            i++
          } else if (input.startsWith(".", startIndex = i)) {
            // If we see a '.', rewind to the beginning of the previous group and parse as IPv4.
            if (!decodeIpv4Suffix(input, groupOffset, limit, address, b - 2)) return null
            b += 2 // We rewound two bytes and then added four.
            break
          } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top