Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getLines (0.09 sec)

  1. src/bufio/bufio_test.go

    func readLines(b *Reader) string {
    	s := ""
    	for {
    		s1, err := b.ReadString('\n')
    		if err == io.EOF {
    			break
    		}
    		if err != nil && err != iotest.ErrTimeout {
    			panic("GetLines: " + err.Error())
    		}
    		s += s1
    	}
    	return s
    }
    
    // Call Read to accumulate the text of a file
    func reads(buf *Reader, m int) string {
    	var b [1000]byte
    	nb := 0
    	for {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                        final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap());
                        item.setDocFreq(0);
                        item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != SuggestItem.Kind.DOCUMENT)
                                .toArray(count -> new SuggestItem.Kind[count]));
                        updateItems.add(item);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
            try (OutputStream out1 = getXContentOutputStream(firstLineMap); OutputStream out2 = getXContentOutputStream(secondLine)) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            return roles;
        }
    
        public String[] getLanguages() {
            return languages;
        }
    
        public String[] getFields() {
            return fields;
        }
    
        public Kind[] getKinds() {
            return kinds;
        }
    
        public long getQueryFreq() {
            return queryFreq;
        }
    
        public long getDocFreq() {
            return docFreq;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top