- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 503 for ResNet (0.06 sec)
-
cmd/benchmark-utils_test.go
md5hex := getMD5Hash(textData) sha256hex := "" // benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() for i := 0; i < b.N; i++ { // insert the object. objInfo, err := obj.PutObject(context.Background(), bucket, "object"+strconv.Itoa(i),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 8.2K bytes - Viewed (0) -
internal/s3select/csv/record.go
func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) { r.columnNames = append(r.columnNames, name) r.csvRecord = append(r.csvRecord, value.CSVString()) return r, nil } // Reset data in record. func (r *Record) Reset() { if len(r.columnNames) > 0 { r.columnNames = r.columnNames[:0] } if len(r.csvRecord) > 0 { r.csvRecord = r.csvRecord[:0] } for k := range r.nameIndexMap {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen_test.go
if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeDailyAllTierStats Msgsize() is inaccurate") } vn := DailyAllTierStats{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeDailyAllTierStats(b *testing.B) { v := DailyAllTierStats{} var buf bytes.Buffer
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen_test.go
t.Log("WARNING: TestEncodeDecodeBucketBandwidthReport Msgsize() is inaccurate") } vn := BucketBandwidthReport{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeBucketBandwidthReport(b *testing.B) { v := BucketBandwidthReport{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* the interrupting thread doesn't interrupt the _next_ thing to run on this thread. * * Note: We don't reset the interrupted bit, just wait for it to be set. If this is a thread * pool thread, the thread pool will reset it for us. Otherwise, the interrupted bit may have * been intended for something else, so don't clear it. */ boolean restoreInterruptedBit = false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * * @param exp * message timeout */ void setExpiration ( Long exp ); /** * */ public void reset (); /** * * @return an exception linked to an error */ public Exception getException (); /** * @param e */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
// check empty or full if rb.IsEmpty() { t.Fatalf("expect IsEmpty is false but got true") } if !rb.IsFull() { t.Fatalf("expect IsFull is true but got false") } // reset this ringbuffer and set a long slice rb.Reset() n, err = rb.Write([]byte(strings.Repeat("abcd", 20))) if err == nil { t.Fatalf("expect ErrTooManyDataToWrite but got nil") } if n != 64 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
src/bytes/buffer_test.go
buf := NewBuffer(make([]byte, n)) for i := 0; i < b.N; i++ { buf.Reset() for i := 0; i < n; i++ { buf.WriteByte('x') } } } func BenchmarkWriteRune(b *testing.B) { const n = 4 << 10 const r = '☺' b.SetBytes(int64(n * utf8.RuneLen(r))) buf := NewBuffer(make([]byte, n*utf8.UTFMax)) for i := 0; i < b.N; i++ { buf.Reset() for i := 0; i < n; i++ { buf.WriteRune(r) } } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/StreamResetException.kt
import java.io.IOException /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */ class StreamResetException( @JvmField val errorCode: ErrorCode,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 869 bytes - Viewed (0) -
tests/prepared_stmt_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0)