- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 304 for buf1 (0.29 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) { final byte[] buf = new byte[1024]; int length; while (-1 < (length = in.read(buf))) { out.write(buf, 0, length); out.flush(); } } catch (final IOException e) { throw new IORuntimeException(e); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
ByteProcessor<byte[]> processor = new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len); pos += len; return true; } @Override public byte[] getResult() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/postpolicyform.go
// // Go stdlib doesn't support parsing JSON with duplicate // keys, so we need to use this technique to merge the // keys. func sanitizePolicy(r io.Reader) (io.Reader, error) { var buf bytes.Buffer e := json.NewEncoder(&buf) d := jstream.NewDecoder(r, 0).ObjectAsKVS().MaxDepth(10) sset := set.NewStringSet() for mv := range d.Stream() { var kvs jstream.KVS if mv.ValueType == jstream.Object {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
} func genSampleCSVData(count int) []byte { buf := &bytes.Buffer{} csvWriter := csv.NewWriter(buf) csvWriter.Write([]string{"id", "name", "age", "city"}) for i := 0; i < count; i++ { csvWriter.Write([]string{ strconv.Itoa(i), newRandString(10), newRandString(5), newRandString(10), }) } csvWriter.Flush() return buf.Bytes() } type nullResponseWriter struct{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
_, err := f.w.Write(b[:match[0]]) f.buf.Next(match[0]) if err != nil { return n, err } } return n, nil } func (f *exitCodeFilter) Finish() (int, error) { // f.buf could be empty, contain a partial match of exitRe, or // contain a full match. b := f.buf.Bytes() defer f.buf.Reset() match := f.exitRe.FindSubmatch(b) if len(match) < 2 || match[1] == nil { // Not a full match. Flush.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { out.write(buf, off, len); return true; } @Override public byte[] getResult() { return out.toByteArray();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
this.txn_buf = buffer; } /** * @return the txn_buf */ public byte[] releaseBuffer () { byte[] buf = this.txn_buf; this.txn_buf = null; return buf; } /** * @return the subCommand */ public final byte getSubCommand () { return this.subCommand; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 9.2K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
// Validates if Versioning with no excluded prefixes omits // ExcludedPrefixes tags v := Versioning{ Status: Enabled, } buf, err := xml.Marshal(v) if err != nil { t.Fatalf("Failed to marshal %v: %v", v, err) } str := string(buf) if strings.Contains(str, "ExcludedPrefixes") { t.Fatalf("XML shouldn't contain ExcludedPrefixes tag - %s", str) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
final String[] values = content.split("\n"); final StringBuilder buf = new StringBuilder((int) (content.length() * 1.3)); buf.append(prefix).append(1).append(':').append(values[0]); for (int i = 1; i < values.length; i++) { buf.append('\n').append(prefix).append(i + 1).append(':').append(values[i]); } return buf.toString(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0)