- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 1,247 for Var (0.01 seconds)
-
cmd/routers.go
"github.com/minio/mux" ) // Composed function registering routers for only distributed Erasure setup. func registerDistErasureRouters(router *mux.Router, endpointServerPools EndpointServerPools) { var ( lockGrid = globalLockGrid.Load() commonGrid = globalGrid.Load() ) // Register storage REST router only if its a distributed setup. registerStorageRESTHandlers(router, endpointServerPools, commonGrid)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.9K bytes - Click Count (0) -
internal/config/crypto_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config import ( "bytes" "encoding/hex" "io" "testing" "github.com/minio/minio/internal/kms" ) var encryptDecryptTests = []struct { Data []byte Context kms.Context }{ { Data: nil, Context: nil, }, { Data: []byte{1}, Context: nil, }, { Data: []byte{1},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
.Builder() .url("https://www.google.ca/") .build(), ) val response = call.execute() try { println(response.code) println("PROTOCOL ${response.protocol}") var line: String? while (response.body .source() .readUtf8Line() .also { line = it } != null ) { println(line) } } finally { response.body.close()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
internal/config/drive/help.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package drive import "github.com/minio/minio/internal/config" var ( // MaxTimeout is the max timeout for drive MaxTimeout = "max_timeout" // HelpDrive is help for drive HelpDrive = config.HelpKVS{ config.HelpKV{ Key: MaxTimeout, Type: "string",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 22 23:07:14 GMT 2024 - 1.1K bytes - Click Count (0) -
tests/transaction_test.go
ctx, cancelFunc := context.WithCancel(ctx) cancelFunc() user := *GetUser("cancel_transaction", Config{}) DB.Create(&user) err := DB.WithContext(ctx).Transaction(func(tx *gorm.DB) error { var result User tx.First(&result, user.ID) return nil }) if err == nil { t.Fatalf("Transaction should get error when using cancelled context") } } func TestTransactionWithBlock(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/kms/config.go
// replicates the KMS key ID. By default, KMS key ID replication is enabled // but can be turned off. const EnvKMSReplicateKeyID = "MINIO_KMS_REPLICATE_KEYID" const ( tlsClientSessionCacheSize = 100 ) var replicateKeyID = sync.OnceValue(func() bool { if v, ok := os.LookupEnv(EnvKMSReplicateKeyID); ok && strings.ToLower(v) == "off" { return false } return true // by default, replicating KMS key IDs is enabled })
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15K bytes - Click Count (0) -
cmd/s3-zip-handlers.go
Bucket: bucket, Name: object, Size: int64(file.UncompressedSize64), ModTime: zipObjInfo.ModTime, ContentType: mime.TypeByExtension(filepath.Ext(object)), } var rc io.ReadCloser if file.UncompressedSize64 > 0 { // There may be number of header bytes before the content. // Reading 64K extra. This should more than cover name and any "extra" details.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
fun allPublicSuffixes() { val buffer = Buffer() FileSystem.SYSTEM.read(pathForTests) { val length = readInt() buffer.write(this, length.toLong()) } while (!buffer.exhausted()) { var publicSuffix = buffer.readUtf8LineStrict() if (publicSuffix.contains("*")) { // A wildcard rule, let's replace the wildcard with a value. publicSuffix = publicSuffix.replace("\\*".toRegex(), "square") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
docs/sts/web-identity.go
) // Returns a base64 encoded random 32 byte string. func randomState() string { b := make([]byte, 32) rand.Read(b) return base64.RawURLEncoding.EncodeToString(b) } var ( stsEndpoint string configEndpoint string clientID string clientSec string clientScopes string port int ) // DiscoveryDoc - parses the output from openid-configuration
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
cmd/metrics-v3-scanner.go
scannerDirectoriesScanned = "directories_scanned" scannerObjectsScanned = "objects_scanned" scannerVersionsScanned = "versions_scanned" scannerLastActivitySeconds = "last_activity_seconds" ) var ( scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished, "Total number of bucket scans finished since server start") scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 19:29:25 GMT 2024 - 2.8K bytes - Click Count (0)