Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,124 for Make (0.12 sec)

  1. cmd/erasure-heal_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		data := make([]byte, test.size)
    		if _, err = io.ReadFull(rand.Reader, data); err != nil {
    			t.Fatalf("Test %d: failed to create random test data: %v", i, err)
    		}
    		buffer := make([]byte, test.blocksize, 2*test.blocksize)
    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      CHECK_OK(buffer.status());
    
      return new PJRT_Buffer{std::move(*buffer), c_api_client->pjrt_c_client()};
    }
    
    TEST(TensorPjRtBufferUtilTest, GetPjRtCBufferFromTensorNoBuffer) {
      auto allocator = std::make_unique<AsyncValueAllocator>();
      tensorflow::Tensor tensor(allocator.get(), DT_FLOAT, {1});
    
      EXPECT_THAT(
          GetPjRtCBufferFromTensor(&tensor),
          StatusIs(error::INTERNAL, HasSubstr(absl::StrCat(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. internal/rest/client.go

    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    		// fully it should make sure to respond with '412'
    		// instead, see cmd/storage-rest-server.go for ideas.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    		}
    
    		rlen := rand.Intn(len(testString))
    		fub := make([]byte, rlen)
    		n, _ := buf.Read(fub)
    		s = s[n:]
    	}
    	empty(t, "TestMixedReadsAndWrites (2)", &buf, s, make([]byte, buf.Len()))
    }
    
    func TestCapWithPreallocatedSlice(t *testing.T) {
    	buf := NewBuffer(make([]byte, 10))
    	n := buf.Cap()
    	if n != 10 {
    		t.Errorf("expected 10, got %d", n)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/table/writer.go

    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. cmd/perf-tests.go

    	var retError string
    	var totalBytesWritten uint64
    	var totalBytesRead uint64
    
    	objCountPerThread := make([]uint64, opts.concurrency)
    
    	uploadsCtx, uploadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer uploadsCancel()
    
    	objNamePrefix := pathJoin(speedTest, mustGetUUID())
    
    	userMetadata := make(map[string]string)
    	userMetadata[globalObjectPerfUserMetadata] = "true" // Bypass S3 API freeze
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. manifests/charts/ztunnel/files/profile-stable.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 423 bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/files/profile-demo.yaml

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    # If you want to make a change in this file, edit the original one and run "make gen".
    
    # The demo profile enables a variety of things to try out Istio in non-production environments.
    # * Lower resource utilization.
    # * Some additional features are enabled by default; especially ones used in some tasks in istio.io.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    	r := &rebalanceMeta{
    		ID:        shortuuid.New(),
    		PoolStats: make([]*rebalanceStats, len(z.serverPools)),
    	}
    
    	// Fetch disk capacity and available space.
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	var totalCap, totalFree uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.packages.txt

    build-essential
    curl
    libbz2-dev
    libffi-dev
    liblzma-dev
    libncurses5-dev
    libreadline-dev
    libsqlite3-dev
    libssl-dev
    libxml2-dev
    libxmlsec1-dev
    llvm
    make
    openssl
    tk-dev
    wget
    xz-utils
    zlib1g-dev
    git
    
    # Packages needed to build devtoolset
    file
    flex
    g++
    make
    patch
    rpm2cpio
    unar
    wget
    xz-utils
    cpio
    gawk
    texinfo
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 430 bytes
    - Viewed (0)
Back to top