- Sort Score
- Result 10 results
- Languages All
Results 1721 - 1730 of 6,241 for if (0.03 sec)
-
cmd/config-encrypted_test.go
t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success { t.Error("Expected failure, saw success") } if test.success { if !bytes.Equal(ddata, data) { t.Errorf("Expected %s, got %s", string(data), string(ddata)) } } }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
clusterDump, err := w.GetClusterConfigDump() if err != nil { return nil, err } dac := clusterDump.GetDynamicActiveClusters() // Allow sorting to work even if we don't have the exact same type for i := range dac { dac[i].Cluster.TypeUrl = v3.ClusterType } sort.Slice(dac, func(i, j int) bool { cluster := &cluster.Cluster{} err = dac[i].Cluster.UnmarshalTo(cluster) if err != nil { return false }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link * Builder#build} is called, the builder is likely to perform better than an unsized {@link * #builder()} would have. * * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
cmd/config-current_test.go
) if err != nil { t.Fatal(err) } if site.Region() != "us-west-1" { t.Errorf("Expecting region `us-west-1` found %s", globalSite.Region()) } if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil { t.Fatalf("Unable to save updated config file %s", err) } // Initialize server config. if err := loadConfig(objLayer, nil); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
}; static { String s; if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.CheckDirectory" )) != null ) { batchLimits[0] = Byte.parseByte( s ); } if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory" )) != null ) { batchLimits[2] = Byte.parseByte( s ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config.go
// set minimal SSE-KMS headers if autoEncrypt is true and the BucketSSEConfig // is nil. func (b *BucketSSEConfig) Apply(headers http.Header, opts ApplyOptions) { if crypto.Requested(headers) { return } if b == nil { if opts.AutoEncrypt { headers.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS) } return } switch b.Algo() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 4.9K bytes - Viewed (0) -
internal/config/heal/heal.go
enabled, err := config.ParseBool(s) if err == nil { switch enabled { case true: return 0, nil case false: return -1, nil } } // Try to parse as a number of months if !strings.HasSuffix(s, "m") { return -1, errors.New("unknown format") } months, err := strconv.Atoi(strings.TrimSuffix(s, "m")) if err != nil { return -1, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
REPO=$dir if [ -e ${'$'}REPO ] ; then tree ${'$'}REPO rm -rf ${'$'}REPO echo "${'$'}REPO was polluted during the build" ${if (exitOnFailure) "exit 1" else ""} else echo "${'$'}REPO does not exist" fi """.trimIndent() fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """ IF exist $dir ( TREE $dir
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 06:22:49 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsBadWord.java
if (createdBy != null) { addFieldToSource(sourceMap, "createdBy", createdBy); } if (createdTime != null) { addFieldToSource(sourceMap, "createdTime", createdTime); } if (suggestWord != null) { addFieldToSource(sourceMap, "suggestWord", suggestWord); } if (targetLabel != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.7K bytes - Viewed (0)