Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for texture (0.18 sec)

  1. internal/config/storageclass/storage-class.go

    // IsValid - returns true if input string is a valid
    // storage class kind supported.
    func IsValid(sc string) bool {
    	return sc == RRS || sc == STANDARD
    }
    
    // UnmarshalText unmarshals storage class from its textual form into
    // storageClass structure.
    func (sc *StorageClass) UnmarshalText(b []byte) error {
    	scStr := string(b)
    	if scStr == "" {
    		return nil
    	}
    	s, err := parseStorageClass(scStr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			4,
    		},
    		{
    			// 3. Tests common time obtained when elements have a mixture of
    			// sentinel values and don't have read quorum on any of the values.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 1).UTC(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. cni/pkg/nodeagent/net_test.go

    	defer cancel()
    	setupLogging()
    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		UID:       "123",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    
    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("99.9.9.9"),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    }
    
    // BackendDown is returned for network errors
    type BackendDown struct {
    	Err string
    }
    
    func (e BackendDown) Error() string {
    	return e.Err
    }
    
    // NotImplemented If a feature is not implemented
    type NotImplemented struct {
    	Message string
    }
    
    func (e NotImplemented) Error() string {
    	return e.Message
    }
    
    // UnsupportedMetadata - unsupported metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	}
    	return spaceParensRx.ReplaceAllString(f, "")
    }
    
    // portRemoved reports whether the given port-specific API feature is
    // okay to no longer exist because its port was removed.
    func portRemoved(feature string) bool {
    	return strings.Contains(feature, "(darwin-386)") ||
    		strings.Contains(feature, "(darwin-386-cgo)")
    }
    
    func compareAPI(w io.Writer, features, required, exception []string) (ok bool) {
    	ok = true
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. tests/associations_test.go

    		t.Fatalf("No error occurred during clearind not null association")
    	}
    }
    
    func TestForeignKeyConstraints(t *testing.T) {
    	tidbSkip(t, "not support the foreign key feature")
    
    	type Profile struct {
    		ID       uint
    		Name     string
    		MemberID uint
    	}
    
    	type Member struct {
    		ID      uint
    		Refer   uint `gorm:"uniqueIndex"`
    		Name    string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. istioctl/pkg/wait/wait.go

    		versionCount[configVersion] = count + 1
    	} else {
    		versionCount[configVersion] = 1
    	}
    }
    
    const distributionTrackingDisabledErrorString = "pilot version tracking is disabled " +
    	"(To enable this feature, please set PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true)"
    
    func poll(ctx cli.Context,
    	cmd *cobra.Command,
    	acceptedVersions []string,
    	targetResource string,
    	proxyID string,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  8. internal/etag/etag.go

    	}
    	return etag, nil
    }
    
    // Parse parses s as an S3 ETag, returning the result.
    // The string can be an encrypted, singlepart
    // or multipart S3 ETag. It returns an error if s is
    // not a valid textual representation of an ETag.
    func Parse(s string) (ETag, error) {
    	const strict = false
    	return parse(s, strict)
    }
    
    // parse parse s as an S3 ETag, returning the result.
    // It operates in one of two modes:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. tests/associations_many2many_test.go

    	}
    
    	AssertAssociationCount(t, user2, "Languages", 0, "after clear")
    }
    
    func TestMany2ManyOmitAssociations(t *testing.T) {
    	tidbSkip(t, "not support the foreign key feature")
    
    	user := *GetUser("many2many_omit_associations", Config{Languages: 2})
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err == nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top