Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Uint64N (0.16 sec)

  1. src/bufio/bufio_test.go

    	w.buf = append(w.buf, p...)
    	w.writeBytes += len(p)
    	return len(p), nil
    }
    
    func (w *readFromWriter) ReadFrom(r io.Reader) (int64, error) {
    	b, err := io.ReadAll(r)
    	w.buf = append(w.buf, b...)
    	w.readFromBytes += len(b)
    	return int64(len(b)), err
    }
    
    // Test that calling (*Writer).ReadFrom with a partially-filled buffer
    // fills the buffer before switching over to ReadFrom.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      std::vector<int64_t> dims(4, 1);
      TFE_Op* op = TFE_NewOp(ctx, "AvgPool", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TF_Tensor* tensor =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. cmd/xl-storage-format-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "PartSizes")
    				return
    			}
    			if cap(z.PartSizes) >= int(zb0007) {
    				z.PartSizes = (z.PartSizes)[:zb0007]
    			} else {
    				z.PartSizes = make([]int64, zb0007)
    			}
    			for za0006 := range z.PartSizes {
    				z.PartSizes[za0006], err = dc.ReadInt64()
    				if err != nil {
    					err = msgp.WrapError(err, "PartSizes", za0006)
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    		_, err = obj.PutObject(context.Background(), object.parentBucket, object.name, mustGetPutObjReader(t, bytes.NewBufferString(object.content),
    			int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{
    			Versioned:   globalBucketVersioningSys.PrefixEnabled(object.parentBucket, object.name),
    			UserDefined: object.meta,
    		})
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	if !unlockOnDefer {
    		return fn(pr, h, pipeCloser, nsUnlocker)
    	}
    
    	return fn(pr, h, pipeCloser)
    }
    
    func (er erasureObjects) getObjectWithFileInfo(ctx context.Context, bucket, object string, startOffset int64, length int64, writer io.Writer, fi FileInfo, metaArr []FileInfo, onlineDisks []StorageAPI) error {
    	// Reorder online disks based on erasure distribution order.
    	// Reorder parts metadata based on erasure distribution order.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. src/bytes/bytes_test.go

    	for _, n := range sizes {
    		if isRaceBuilder && n > 4<<10 {
    			continue
    		}
    		b.Run(valName(n), func(b *testing.B) {
    			if len(bmbuf) < n {
    				bmbuf = make([]byte, n)
    			}
    			b.SetBytes(int64(n))
    			f(b, n)
    		})
    	}
    }
    
    var indexSizes = []int{10, 32, 4 << 10, 4 << 20, 64 << 20}
    
    var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race")
    
    func BenchmarkIndexByte(b *testing.B) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		// than the same number of values for different keys (many map entries), but
    		// using a consistent per-value cost for overhead is simpler.
    		maxMemoryBytes := 2 * int64(10<<20)
    		maxMemoryBytes -= int64(len(name))
    		maxMemoryBytes -= mapEntryOverhead
    		if maxMemoryBytes < 0 {
    			// We can't actually take this path, since nextPart would already have
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/arm.s

    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($6);
    //		outcode($1, $2, &$3, 0, &g);
    //	}
    	MOVM	0(R1), [R2,R5,R8,g] // MOVM	(R1), [R2,R5,R8,g]
    	MOVM	(R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5]
    	MOVM	(R1), [R2]
    
    //	LTYPE8 cond '[' reglist ']' ',' ioreg
    //	{
    //		var g obj.Addr
    //
    //		g = nullgen;
    //		g.Type = obj.TYPE_CONST;
    //		g.Offset = int64($4);
    //		outcode($1, $2, &g, 0, &$7);
    //	}
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    		if err2 != nil {
    			// Just return the first error.
    			return err
    		}
    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. cmd/peer-rest-server.go

    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top