Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 361 for Buf (0.03 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // content
            final StringBuilder buf = new StringBuilder(content.length() + 1000);
            if (fessConfig.isCrawlerDocumentFileAppendBodyContent()) {
                buf.append(content);
            }
            if (fessConfig.isCrawlerDocumentFileAppendMetaContent()) {
                if (buf.length() > 0) {
                    buf.append(' ');
                }
                buf.append(contentMeta);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        if (StringUtil.isNotBlank(normalizePath)) {
                            buf.append(normalizePath);
                        }
                    }
                    this.includedPaths = Pattern.compile(buf.toString());
                }
    
                if (StringUtil.isNotBlank(excludedPaths)) {
                    final StringBuilder buf = new StringBuilder(100);
                    char split = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. internal/http/request-recorder.go

    // RequestRecorder - records the
    // of a given io.Reader
    type RequestRecorder struct {
    	// Data source to record
    	io.Reader
    	// Response body should be logged
    	LogBody bool
    
    	// internal recording buffer
    	buf bytes.Buffer
    	// total bytes read including header size
    	bytesRead int
    }
    
    // Close is a no operation closer
    func (r *RequestRecorder) Close() error {
    	// no-op
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex_test.go

    // drain returns a single string representing the processed input tokens.
    func drain(input *Input) string {
    	var buf strings.Builder
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return buf.String()
    		}
    		if tok == '#' {
    			continue
    		}
    		if buf.Len() > 0 {
    			buf.WriteByte('.')
    		}
    		buf.WriteString(input.Text())
    	}
    }
    
    type badLexTest struct {
    	input string
    	error string
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    	reader := bytes.NewReader(buf)
    	respBody, err := client.call(ctx, storageRESTMethodAppendFile, values, reader, -1)
    	defer xhttp.DrainBody(respBody)
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
      private static CharBuffer grow(CharBuffer buf) {
        char[] copy = Arrays.copyOf(buf.array(), buf.capacity() * 2);
        CharBuffer bigger = CharBuffer.wrap(copy);
        Java8Compatibility.position(bigger, buf.position());
        Java8Compatibility.limit(bigger, buf.limit());
        return bigger;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ReaderInputStream.java

          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
      private static CharBuffer grow(CharBuffer buf) {
        char[] copy = Arrays.copyOf(buf.array(), buf.capacity() * 2);
        CharBuffer bigger = CharBuffer.wrap(copy);
        Java8Compatibility.position(bigger, buf.position());
        Java8Compatibility.limit(bigger, buf.limit());
        return bigger;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

                        for (final StringBuilder buf : bufList) {
                            buf.append(alphabets[j]);
                        }
                    } else if (bufList.size() < getMaxReadingNum()) {
                        final List<StringBuilder> tmpBufList = deepCopyBufList(originBufList);
                        for (final StringBuilder buf : tmpBufList) {
                            buf.append(alphabets[j]);
                        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    		nest := 0
    		for i := 0; i < len(printed); i++ {
    			c := printed[i]
    			switch c {
    			case '{', '[':
    				nest++
    			case '}', ']':
    				nest--
    			case ',':
    				buf = append(buf, ',')
    				if nest == 0 {
    					buf = append(buf, ' ')
    				}
    				for i+1 < len(printed) && (printed[i+1] == ' ' || printed[i+1] == '\t') {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
                    buf.append("%20");
                } else if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top