- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 380 for nbuf (0.03 sec)
-
internal/event/target/elasticsearch.go
doc := map[string]interface{}{ "Records": []event.Event{eventData}, } var buf bytes.Buffer enc := json.NewEncoder(&buf) err := enc.Encode(doc) if err != nil { return err } res, err := c.Index( index, &buf, c.Index.WithDocumentID(key), c.Index.WithContext(ctx), ) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer for _, t := range r.Filter.And.Tags { if buf.Len() > 0 { buf.WriteString("&") } buf.WriteString(t.String()) } return buf.String() } return "" } // Validate - validates the rule element func (r Rule) Validate() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
cmd/erasure-encode.go
func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) { writer := &multiWriter{ writers: writers, writeQuorum: quorum, errs: make([]error, len(writers)), } for { var blocks [][]byte n, err := io.ReadFull(src, buf) if err != nil { if !IsErrIgnored(err, []error{ io.EOF, io.ErrUnexpectedEOF,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/sts/web-identity.go
v.Set("scope", strings.Join(c.Scopes, " ")) } v.Set("state", state) v.Set("nonce", state) if strings.Contains(c.Endpoint.AuthURL, "?") { buf.WriteByte('&') } else { buf.WriteByte('?') } buf.WriteString(v.Encode()) return buf.String() } func main() { flag.Parse() if clientID == "" { flag.PrintDefaults() return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
final StringBuilder buf = new StringBuilder(100); buf.append("Processing "); if (totalHits > 0) { buf.append(arList.size()).append('/').append(totalHits).append(" docs (Doc:{access "); } else { buf.append("no docs in indexing queue (Doc:{access "); } buf.append(systemHelper.getCurrentTimeAsLong() - execTime).append("ms");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K bytes - Viewed (0) -
cmd/perf-tests.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final StringBuilder buf = new StringBuilder(); updateConfigListenerMap.entrySet().stream().forEach(e -> { buf.append(e.getKey()).append(": "); try { buf.append(e.getValue().get()); } catch (final Exception ex) { logger.warn("Failed to process {} task.", e.getKey(), ex); buf.append(ex.getMessage()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
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)