Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 342 for readLink (0.05 sec)

  1. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                final KuromojiItem kuromojiItem = itemList.get(i);
                assertEquals("token" + (i + 1), kuromojiItem.getToken());
                assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation());
                assertEquals("reading" + (i + 1), kuromojiItem.getReading());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
                assertFalse(kuromojiItem.isUpdated());
                assertFalse(kuromojiItem.isUpdated());
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. cmd/dummy-data-generator_test.go

    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    		if !bytes.Equal(b1[:n1], b2[:n2]) {
    			return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n",
    				i, b1, b2)
    		}
    		// Check if stream has ended
    		if (e1 == io.ErrUnexpectedEOF && e2 == io.ErrUnexpectedEOF) || (e1 == io.EOF && e2 == io.EOF) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "ra":
    			z.RetryAttempts, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "RetryAttempts")
    				return
    			}
    		case "at":
    			z.Attempts, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Attempts")
    				return
    			}
    		case "cmp":
    			z.Complete, err = dc.ReadBool()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dtyp/ACE.java

     * of the access check algorithm used by Windows is required. The following
     * is a basic description of the algorithm. For a more complete description
     * we recommend reading the section on Access Control in Keith Brown's
     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  7. internal/s3select/simdj/reader.go

    		dstRec = &Record{}
    	}
    	dstRec.object = v
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *Reader) Close() error {
    	// Close the input.
    	// Potentially racy if the stream decoder is still reading.
    	if r.readCloser != nil {
    		r.readCloser.Close()
    	}
    	if r.exitReader != nil {
    		close(r.exitReader)
    		r.readerWg.Wait()
    		r.exitReader = nil
    		r.input = nil
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. internal/etag/reader.go

    			return n, VerifyError{
    				Expected: r.checksum,
    				Computed: etag,
    			}
    		}
    	}
    	return n, err
    }
    
    // ETag returns the ETag of all the content read
    // so far. Reading more content changes the MD5
    // checksum. Therefore, calling ETag multiple
    // times may return different results.
    func (r *Reader) ETag() ETag {
    	sum := r.md5.Sum(nil)
    	return ETag(sum)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    
    	const expectedHash = "fffb6377948ebea75ad2b8058e849ef5"
    	foundHash := fmt.Sprintf("%x", h.Sum(nil))
    	if foundHash != expectedHash {
    		t.Fatalf("Expected data to have md5sum = `%s`, found `%s`", expectedHash, foundHash)
    	}
    }
    
    // Test reading an object with some outdated data in some disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top