- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for safely (0.07 seconds)
-
cmd/postpolicyform.go
) // toString - Safely convert interface to string without causing panic. func toString(val any) string { switch v := val.(type) { case string: return v default: return "" } } // toLowerString - safely convert interface to lower string func toLowerString(val any) string { return strings.ToLower(toString(val)) } // toInteger _ Safely convert interface to integer without causing panic.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
} /** * @return True if the <code>Mojo</code> is thread-safe and can be run safely in parallel * @since 3.0-beta-2 */ public boolean isThreadSafe() { return threadSafe; } /** * @param threadSafe indicates that the mojo is thread-safe and can be run safely in parallel * @since 3.0-beta-2 */ public void setThreadSafe(boolean threadSafe) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 21.7K bytes - Click Count (0) -
docs/resiliency/resiliency-tests.sh
function test_resiliency_success_with_disks_offline() { echo echo -e "${GREEN}Running test_resiliency_success_with_disks_offline ...${NC}" # There are 8 disks on each node with EC:4 and two erasure sets. # We should be able to safely suspend one disk per set from each server. docker exec resiliency-minio1-1 /bin/sh -c "mv /data1/.minio.sys /data1/.minio.bkp && touch /data1/.minio.sys"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 20.5K bytes - Click Count (0) -
internal/ioutil/ioutil.go
// that we promised that we would write. if totalSize > 0 && written != totalSize { return written, io.ErrUnexpectedEOF } return written, nil } } } // SafeClose safely closes any channel of any type func SafeClose[T any](c chan<- T) { if c != nil { close(c) return } // Print stack to check who is sending `c` as `nil` // without crashing the server.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
if !ok { return "" } return pCfg.ClaimPrefix + pCfg.ClaimName } // LookupUser lookup userid for the provider func (r Config) LookupUser(roleArn, userid string) (provider.User, error) { // Can safely ignore error here as empty or invalid ARNs will not be // mapped. arnVal, _ := arn.Parse(roleArn) pCfg, ok := r.arnProviderCfgsMap[arnVal] if ok { user, err := pCfg.provider.LookupUser(userid)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
</field> <field> <name>threadSafe</name> <version>1.0.0/1.1.0</version> <type>boolean</type> <description> Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel builds. Mojos without this annotation will make Maven output a warning when used during a parallel build session. @since Maven 3.0.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:28:41 GMT 2025 - 24.8K bytes - Click Count (0) -
src/archive/zip/reader.go
// Since the number of directory records is not validated, it is not // safe to preallocate r.File without first checking that the specified // number of files is reasonable, since a malformed archive may // indicate it contains up to 1 << 128 - 1 files. Since each file has a // header which will be _at least_ 30 bytes we can safely preallocate // if (data size / 30) >= end.directoryRecords.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K bytes - Click Count (0) -
cmd/erasure-healing.go
errPartMissing = errors.New("part missing") ) // Only heal on disks where we are sure that healing is needed. We can expand // this list as and when we figure out more errors can be added to this list safely. func shouldHealObjectOnDisk(erErr error, partsErrs []int, meta FileInfo, latestMeta FileInfo) (bool, bool, error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/server-main.go
} // Create new bucket metadata system. if globalBucketMetadataSys == nil { globalBucketMetadataSys = NewBucketMetadataSys() } else { // Reinitialize safely when testing. globalBucketMetadataSys.Reset() } // Create the bucket bandwidth monitor globalBucketMonitor = bandwidth.NewMonitor(ctx, uint64(totalNodeCount())) // Create a new config system.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
cmd/erasure-multipart.go
// Wait for all renames to finish. errs := g.Wait() err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum) if err != nil { er.cleanupMultipartPath(ctx, paths...) } // We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum // otherwise return failure. Cleanup successful renames. return evalDisks(disks, errs), err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0)