Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,384 for _func (0.1 sec)

  1. internal/bpool/bpool_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bpool
    
    import (
    	"testing"
    )
    
    // Tests - bytePool functionality.
    func TestBytePool(t *testing.T) {
    	size := uint64(4)
    	width := 1024
    	capWidth := 2048
    
    	bp := NewBytePoolCap(size, width, capWidth)
    
    	// Check the width
    	if bp.Width() != width {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/config/api/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package api
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help holds configuration keys and their default values for api subsystem.
    	Help = config.HelpKVS{
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. cmd/rebalance-admin.go

    	Pools     []rebalancePoolStatus `json:"pools"` // contains all pools, including inactive
    	StoppedAt time.Time             `json:"stoppedAt,omitempty"`
    }
    
    func rebalanceStatus(ctx context.Context, z *erasureServerPools) (r rebalanceAdminStatus, err error) {
    	// Load latest rebalance status
    	meta := &rebalanceMeta{}
    	err = meta.load(ctx, z.serverPools[0])
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

    bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def);
    
    bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def);
    
    bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def);
    
    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. cmd/metrics-v3-bucket-replication.go

    		bucketL)
    )
    
    // loadBucketReplicationMetrics - `BucketMetricsLoaderFn` for bucket replication metrics
    // such as latency and sent bytes.
    func loadBucketReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache, buckets []string) error {
    	if globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_remote_test.cc

    void TestRemoteExecuteSilentCopiesOp(bool async, bool remote,
                                         bool remote_func_outputs = false) {
      return TestRemoteExecuteSilentCopies(async, remote, /*func=*/false,
                                           /*heavy_load_on_streaming_rpc=*/false,
                                           remote_func_outputs);
    }
    
    TEST(CAPI, RemoteExecuteSilentCopies) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 12 00:14:22 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  7. cmd/batch-replicate_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"slices"
    	"testing"
    
    	"gopkg.in/yaml.v3"
    )
    
    func TestParseBatchJobReplicate(t *testing.T) {
    	replicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/batch-expire_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"slices"
    	"testing"
    
    	"gopkg.in/yaml.v3"
    )
    
    func TestParseBatchJobExpire(t *testing.T) {
    	expireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. cmd/update-notifier_test.go

    package cmd
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    // like this:
    //
    // 	type MyAwesomeAPIObject struct {
    // 	     runtime.TypeMeta    `json:",inline"`
    // 	     ... // other fields
    // 	}
    //
    // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top