Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,179 for _func (0.09 sec)

  1. internal/dsync/dsync.go

    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 01 19:14:28 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_test.go

    		expectedReplicationStatus:         replication.Failed,
    		expectedOpType:                    replication.ObjectReplicationType,
    		expectedAction:                    replicateAll,
    	},
    }
    
    func TestReplicatedInfos(t *testing.T) {
    	for i, test := range replicatedInfosTests {
    		rinfos := replicatedInfos{
    			Targets: test.tgtInfos,
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-health.go

    		"Count of all drives in the cluster")
    )
    
    // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics
    // such as online, offline and total drives.
    func loadClusterHealthDriveMetrics(ctx context.Context, m MetricValues,
    	c *metricsCache,
    ) error {
    	clusterDriveMetrics, _ := c.clusterDriveMetrics.Get()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/config/certsinfo.go

    var (
    	oidEmailAddress = []int{1, 2, 840, 113549, 1, 9, 1}
    )
    
    // printName prints the fields of a distinguished name, which include such
    // things as its common name and locality.
    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
                                 /*output_names=*/nullptr,
                                 /*opts=*/nullptr, description, s.get());
      ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
      ASSERT_NE(*func, nullptr);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. cmd/site-replication-utils_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *SiteResyncStatus) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. api/next/51473.txt

    pkg runtime, func GOROOT //deprecated #51473...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 20 22:49:59 UTC 2024
    - 45 bytes
    - Viewed (0)
  9. tests/customize_field_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestCustomizeColumn(t *testing.T) {
    	type CustomizeColumn struct {
    		ID   int64      `gorm:"column:mapped_id; primary_key:yes"`
    		Name string     `gorm:"column:mapped_name"`
    		Date *time.Time `gorm:"column:mapped_time"`
    	}
    
    	DB.Migrator().DropTable(&CustomizeColumn{})
    	DB.AutoMigrate(&CustomizeColumn{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  10. cmd/config-migrate.go

    )
    
    // Save config file to corresponding backend
    func Save(configFile string, data interface{}) error {
    	return quick.SaveConfig(data, configFile, globalEtcdClient)
    }
    
    // Load config from backend
    func Load(configFile string, data interface{}) (quick.Config, error) {
    	return quick.LoadConfig(configFile, globalEtcdClient, data)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top