- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,250 for struct (0.04 sec)
-
src/archive/tar/strconv.go
return s } b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
internal/config/callhome/callhome.go
}, } // callhomeCycleDefault is the default interval between two callhome cycles (24hrs) const callhomeCycleDefault = 24 * time.Hour // Config represents the subnet related configuration type Config struct { // Flag indicating whether callhome is enabled. Enable bool `json:"enable"` // The interval between callhome cycles Frequency time.Duration `json:"frequency"` } var configLock sync.RWMutex
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/config/notify/config.go
package notify import ( "github.com/minio/minio/internal/event/target" ) // Config - notification target configuration structure, holds // information about various notification targets. type Config struct { AMQP map[string]target.AMQPArgs `json:"amqp"` Elasticsearch map[string]target.ElasticsearchArgs `json:"elasticsearch"` Kafka map[string]target.KafkaArgs `json:"kafka"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.8K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
} if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) } f.Add(b.Bytes()) f.Fuzz(func(t *testing.T, b []byte) { r := NewReader(bytes.NewReader(b)) type file struct { header *Header content []byte } files := []file{} for { hdr, err := r.Next() if err == io.EOF { break } if err != nil { return }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
// FunctionDef. The name is in fdef.signature.name. virtual absl::Status RemoveFunction(const string& func) = 0; private: const AbstractContextKind kind_; }; namespace internal { struct AbstractContextDeleter { void operator()(AbstractContext* p) const { if (p != nullptr) { p->Release(); } } }; } // namespace internal using AbstractContextPtr =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
"encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/slices" ) // PolicyFilter is used to pass filter information into service based config writer print functions type PolicyFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool { if wf.Namespace != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 21:45:11 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/object-handlers_test.go
// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical. bytesData := []struct { byteData []byte }{ {generateBytesData(6 * humanize.MiByte)}, } // set of inputs for uploading the objects before tests for downloading is done. putObjectInputs := []struct { bucketName string objectName string contentLength int64 textData []byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
cmd/bucket-replication_test.go
SourceSelectionCriteria: replication.SourceSelectionCriteria{ ReplicaModifications: replication.ReplicaModifications{Status: replication.Enabled}, }, }, }, }, } var replicationConfigTests = []struct { info ObjectInfo name string rcfg replicationConfig dsc ReplicateDecision tgtStatuses map[string]replication.StatusType expectedSync bool }{ { // 1. no replication config
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 16 09:28:06 UTC 2023 - 12.2K bytes - Viewed (0) -
internal/bucket/replication/error.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package replication import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/dsync/locked_rand.go
package dsync import ( "math/rand" "sync" ) // lockedRandSource provides protected rand source, implements rand.Source interface. type lockedRandSource struct { lk sync.Mutex src rand.Source } // Int63 returns a non-negative pseudo-random 63-bit integer as an int64. func (r *lockedRandSource) Int63() (n int64) { r.lk.Lock() n = r.src.Int63() r.lk.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 18 15:39:59 UTC 2021 - 1.3K bytes - Viewed (0)