- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 6,241 for If (0.08 sec)
-
cni/pkg/nodeagent/podcgroupns.go
/* for each process, find its netns inode, if we already seen the inode, skip it if we haven't seen the inode, check the process cgroup and see if we can extract a pod uid from it. if we can, open the netns, and save a map of uid->netns-fd */ podUIDNetns := make(PodToNetns) netnsObserved := sets.New[uint64]() entries, err := fs.ReadDir(p.proc, ".") if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
internal/http/server.go
) var interfaceFound bool for i := range listenErrs { if listenErrs[i] != nil { listenErrCallback(srv.Addrs[i], listenErrs[i]) } else { interfaceFound = true } } if !interfaceFound { return nil, errors.New("no available interface found") } // Wrap given handler to do additional // * return 503 (service unavailable) if the server in shutdown.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
internal/logger/targets.go
return res } // AddSystemTarget adds a new logger target to the // list of enabled loggers func AddSystemTarget(ctx context.Context, t Target) error { if err := t.Init(ctx); err != nil { return err } if consoleTgt == nil { if t.Type() == types.TargetConsole { consoleTgt = t } } systemTargets.add(t) return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 03 15:44:50 UTC 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
this.mask = mask; } /** * Checks if the given key already appears in the hash chain starting at {@code keyBucketHead}. If * it does not, then null is returned. If it does, then if {@code throwIfDuplicateKeys} is true an * {@code IllegalArgumentException} is thrown, and otherwise the existing {@link Entry} is * returned. * * @throws IllegalArgumentException if another entry in the bucket has the same key and {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
cmd/bucket-metadata.go
func (b BucketMetadata) lastUpdate() (t time.Time) { if b.PolicyConfigUpdatedAt.After(t) { t = b.PolicyConfigUpdatedAt } if b.ObjectLockConfigUpdatedAt.After(t) { t = b.ObjectLockConfigUpdatedAt } if b.EncryptionConfigUpdatedAt.After(t) { t = b.EncryptionConfigUpdatedAt } if b.TaggingConfigUpdatedAt.After(t) { t = b.TaggingConfigUpdatedAt } if b.QuotaConfigUpdatedAt.After(t) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
) // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { s1, err := os.Lstat(path) if err != nil { return false } // A symlink can never be a mount point if s1.Mode()&os.ModeSymlink != 0 { return false } s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/"))) if err != nil { return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
String reference = ""; if (!dejaVu.add(exception)) { return reference; } if (exception != null) { if (exception instanceof MojoExecutionException) { reference = MojoExecutionException.class.getSimpleName(); Throwable cause = exception.getCause(); if (cause instanceof IOException) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (tracker != null) { if (fieldName != null) { Object key = fieldName; int idx = fieldName.lastIndexOf('.'); if (idx >= 0) { fieldName = fieldName.substring(idx + 1); key = fieldName; } if (fieldName.endsWith("]")) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
cmd/notification.go
if nerrs <= 0 { nerrs = 1 } if wks > nerrs { wks = nerrs } wk, _ := workers.New(wks) return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3} } // WithRetries sets the retry count for all function calls from the Go method. func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup { if g != nil { g.retryCount = retryCount
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
if( filename != null && filename.length() > 1 ) { in = new FileInputStream( filename ); } Config.load( in ); if (in != null) in.close(); } catch( IOException ioe ) { if( log.level > 0 ) ioe.printStackTrace( log ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0)