- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 161 for res (0.02 seconds)
-
internal/arn/arn.go
return arn, err } res := strings.SplitN(ps[5], "/", 2) if len(res) != 2 { err = errors.New("invalid ARN - resource does not contain a \"/\"") return arn, err } if res[0] != string(arnResourceTypeRole) { err = errors.New("invalid ARN: resource type is invalid") return arn, err } if !validResourceIDRegex.MatchString(res[1]) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.5K bytes - Click Count (0) -
internal/hash/checksum.go
cs = "" } if cs != "" { res[typ.String()] = cs if ckType := typ.ObjType(); ckType != "" { res[xhttp.AmzChecksumType] = ckType } } } if len(res) == 0 { res = nil } return res, isMP } // ReadPartCheckSums will read all part checksums from b and return them. func ReadPartCheckSums(b []byte) (res []map[string]string) { for len(b) > 0 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java
this.streamInput = pagedBytes.streamInput(); } @Benchmark public int readVInt() throws IOException { int res = 0; streamInput.reset(); for (int i = 0; i < entries; i++) { res = res ^ streamInput.readVInt(); } return res; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java
this.streamInput = pagedBytes.streamInput(); } @Benchmark public long readVLong() throws IOException { long res = 0; streamInput.reset(); for (int i = 0; i < entries; i++) { res = res ^ streamInput.readVLong(); } return res; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
cmd/peer-rest-server.go
res := make([]*MetricV2, 0, len(resourceMetricsGroups)) populateAndPublish(resourceMetricsGroups, func(m MetricV2) bool { if m.VariableLabels == nil { m.VariableLabels = make(map[string]string, 1) } m.VariableLabels[serverName] = globalLocalNodeName res = append(res, &m) return true }) return aoMetricsGroup.NewWith(res), nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0) -
docs/debugging/inspect/export.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
tests/scan_test.go
} DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res) if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2) } DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
Trans2FindFirst2Response resp = inv.getArgument(1); // First response content FE[] res = java.util.Arrays.stream(batches.get(0)).map(FE::new).toArray(FE[]::new); setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res); setField(resp, Trans2FindFirst2Response.class, "sid", 42);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), filter); assertTrue(it.hasNext()); SmbResource res = it.next(); assertNotNull(res); assertEquals("good/", res.getName()); assertFalse(it.hasNext()); verify(filter, times(2)).accept(any()); } static Stream<Arguments> invalidNamesAndFilterFlag() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
cmd/last-minute.go
l.LastSec = sec } // Merge all recorded latencies of last minute into one func (l *lastMinuteLatency) getTotal() AccElem { var res AccElem sec := time.Now().Unix() l.forwardTo(sec) for _, elem := range l.Totals[:] { res.merge(elem) } return res } // forwardTo time t, clearing any entries in between. func (l *lastMinuteLatency) forwardTo(t int64) { if l.LastSec >= t { return
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 05 17:40:45 GMT 2023 - 4.8K bytes - Click Count (0)