- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 376 for cbuf (0.03 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
private final ByteArrayOutputStream buf = new ByteArrayOutputStream(MAX_LEN); @Override public void write(final int b) throws IOException { if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) { try { final String msg = buf.toString(Constants.UTF_8); if (StringUtil.isNotBlank(msg)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
} public static String dec_ucs2le ( byte[] src, int si, int slim, char[] buf ) { int bi; for ( bi = 0; ( si + 1 ) < slim; bi++, si += 2 ) { buf[ bi ] = (char) dec_uint16le(src, si); if ( buf[ bi ] == '\0' ) { break; } } return new String(buf, 0, bi); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 8.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
final StringBuilder buf = new StringBuilder(); clientFactory.addClient("test:.*", new CrawlerClient() { @Override public ResponseData execute(final RequestData request) { return null; } @Override public void setInitParameterMap(final Map<String, Object> params) { buf.append("value=").append(params.get("hoge"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
// SMA struct for calculating simple moving average type SMA struct { buf []float64 window int // len of buf idx int // current index in buf CAvg float64 // cumulative average prevSMA float64 filledBuf bool } func newSMA(ln int) *SMA { if ln <= 0 { ln = defaultWindowSize } return &SMA{ buf: make([]float64, ln), window: ln, idx: 0, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
parseTextContent(node, buf); } } catch (final Exception e) { logger.warn("Could not parse a value of {}", xpath); } if (buf == null) { return null; } return buf.toString().trim(); } protected void parseTextContent(final Node node, final StringBuilder buf) { if (node.hasChildNodes()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
default String getLdapAdminUserSecurityPrincipal(final String name) { final StringBuilder buf = new StringBuilder(100); buf.append(String.format(getLdapAdminUserFilter(), name)); if (StringUtil.isNotBlank(getLdapAdminUserBaseDn())) { buf.append(',').append(getLdapAdminUserBaseDn()); } return buf.toString(); } String getLdapAdminRoleObjectClasses();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java
validate(form, messages -> {}, () -> asListHtml(null)); verifyTokenKeep(() -> asListHtml(this::saveToken)); String header = null; final StringBuilder buf = new StringBuilder(1000); try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) { header = ReaderUtil.readLine(reader);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.2K bytes - Viewed (0) -
src/bytes/example_test.go
// A Buffer can turn a string or a []byte into an io.Reader. buf := bytes.NewBufferString("R29waGVycyBydWxlIQ==") dec := base64.NewDecoder(base64.StdEncoding, buf) io.Copy(os.Stdout, dec) // Output: Gophers rule! } func ExampleBuffer_Bytes() { buf := bytes.Buffer{} buf.Write([]byte{'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'}) os.Stdout.Write(buf.Bytes()) // Output: hello world }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/storage-rest-server.go
} buf := make([]byte, length) defer metaDataPoolPut(buf) // Reuse if we can. _, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier) if err != nil { s.writeErrorResponse(w, err) return } w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(buf))) w.Write(buf) } // ReadFileStreamHandler - read section of a file.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0)