- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,121 for strict (0.03 seconds)
-
cmd/erasure.go
// some may be local and some remote. getEndpointStrings func() []string // Locker mutex map. nsMutex *nsLockMap } // NewNSLock - initialize a new namespace RWLocker instance. func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker { return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
internal/hash/reader.go
} if r.contentHash.Type.Trailing() { return map[string]string{r.contentHash.Type.String(): r.trailer.Get(r.contentHash.Type.Key())} } return map[string]string{r.contentHash.Type.String(): r.contentHash.Encoded} } // Checksum returns the content checksum if set. func (r *Reader) Checksum() *Checksum { if !r.contentHash.Type.IsSet() || !r.contentHash.Valid() { return nil } return &r.contentHash }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
} d.idx = d.length + offset } return d.idx, nil } func TestDummyDataGenerator(t *testing.T) { readAll := func(r io.Reader) string { b, _ := io.ReadAll(r) return string(b) } checkEq := func(a, b string) { if a != b { t.Fatalf("Unexpected equality failure") } } checkEq(readAll(NewDummyDataGen(0, 0)), "")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/arena/arena.go
// it is no longer referenced, so it must be kept alive (see runtime.KeepAlive) // until any memory allocated from it is no longer needed. // // An Arena must never be used concurrently by multiple goroutines. type Arena struct { a unsafe.Pointer } // NewArena allocates a new arena. func NewArena() *Arena { return &Arena{a: runtime_arena_newArena()} } // Free frees the arena (and all objects allocated from the arena) so that
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Click Count (0) -
internal/lsync/lrwmutex.go
package lsync import ( "context" "math" "math/rand" "sync" "time" ) // A LRWMutex is a mutual exclusion lock with timeouts. type LRWMutex struct { id string source string isWriteLock bool ref int mu sync.Mutex // Mutex to prevent multiple simultaneous locks } // NewLRWMutex - initializes a new lsync RW mutex. func NewLRWMutex() *LRWMutex {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFileCleanUpExtension.kt
* limitations under the License. */ package gradlebuild.testcleanup.extension import org.gradle.api.provider.Property /** * An extension for project build script to configure whether the leftover files should be treated: * report only, or a failure. */ interface TestFileCleanUpExtension { val reportOnly: Property<Boolean>Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Mar 18 02:11:12 GMT 2022 - 919 bytes - Click Count (0) -
cmd/ftp-server.go
func (log *minioLogger) PrintCommand(sessionID string, command string, params string) { if serverDebugLog { if command == "PASS" { fmt.Printf("%s > PASS ****\n", sessionID) } else { fmt.Printf("%s > %s %s\n", sessionID, command, params) } } } // PrintResponse implement Logger func (log *minioLogger) PrintResponse(sessionID string, code int, message string) { if serverDebugLog {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/api-response_test.go
// Tests object location. func TestObjectLocation(t *testing.T) { testCases := []struct { request *http.Request bucket, object string domains []string expectedLocation string }{ // Server binding to localhost IP with https. { request: &http.Request{ Host: "127.0.0.1:9000", Header: map[string][]string{ "X-Forwarded-Scheme": {httpScheme}, }, },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/xl-storage-format-utils.go
Name: path, Versions: versions, LatestModTime: versions[0].ModTime, }, nil } type fileInfoOpts struct { InclFreeVersions bool Data bool } func getFileInfo(xlMetaBuf []byte, volume, path, versionID string, opts fileInfoOpts) (FileInfo, error) { var fi FileInfo var err error var inData xlMetaInlineData
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 5.5K bytes - Click Count (0) -
cmd/iam-store.go
loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error loadSecretKey(ctx context.Context, user string, userType IAMUserType) (string, error)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0)