- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 383 for buf (0.01 seconds)
-
cmd/storage-interface.go
ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) ([]string, error) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 5.3K bytes - Click Count (0) -
internal/grid/types.go
if len(m) == 0 { return "" } var buf strings.Builder buf.WriteByte('?') keys := make([]string, 0, len(m)) for k := range m { keys = append(keys, k) } sort.Strings(keys) for _, k := range keys { v := m[k] keyEscaped := url.QueryEscape(k) if buf.Len() > 1 { buf.WriteByte('&') } buf.WriteString(keyEscaped) buf.WriteByte('=') buf.WriteString(url.QueryEscape(v)) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
private static class TestByteProcessor implements ByteProcessor<byte[]> { private final ByteArrayOutputStream out = new ByteArrayOutputStream(); @Override public boolean processBytes(byte[] buf, int off, int len) { out.write(buf, off, len); return true; } @Override public byte[] getResult() { return out.toByteArray(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (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() { if mv.ValueType == jstream.Object {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final StringBuilder buf = new StringBuilder(100); buf.append("/WEB-INF/view/").append(page); if (StringUtil.isNotBlank(lang)) { buf.append('_').append(lang); if (StringUtil.isNotBlank(country)) { buf.append('_').append(country); } } buf.append(".jsp"); return buf.toString(); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.9K bytes - Click Count (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) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun May 08 05:06:44 GMT 2022 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/util/HMACT64.java
return this.md5.digest(digest); } @Override protected int engineDigest(final byte[] buf, final int offset, final int len) { final byte[] digest = this.md5.digest(); this.md5.update(this.opad); this.md5.update(digest); try { return this.md5.digest(buf, offset, len); } catch (final Exception ex) { throw new IllegalStateException(); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
md5.update(opad); return md5.digest(digest); } @Override protected int engineDigest(final byte[] buf, final int offset, final int len) { final byte[] digest = md5.digest(); md5.update(opad); md5.update(digest); try { return md5.digest(buf, offset, len); } catch (final Exception ex) { throw new IllegalStateException(); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0)