Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for Hafner (0.14 sec)

  1. cmd/namespace-lock_test.go

    			defer close(lk2ch)
    			nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond)
    		}()
    		time.Sleep(1 * time.Millisecond) // wait for goroutine to advance; ref=2
    
    		// Unlock the 1st lock; ref=1 after this line
    		nsLk.unlock("volume", "path", false)
    
    		// Taking another lockMapMutex here allows queuing up additional lockers. This should
    		// not be required but makes reproduction much easier.
    		nsLk.lockMapMutex.Lock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  2. internal/config/constants.go

    	EnvRootDiskThresholdSize      = "MINIO_ROOTDISK_THRESHOLD_SIZE" // Deprecated Sep 2023
    	EnvBrowserLoginAnimation      = "MINIO_BROWSER_LOGIN_ANIMATION"
    	EnvBrowserSessionDuration     = "MINIO_BROWSER_SESSION_DURATION" // Deprecated after November 2023
    	EnvMinioStsDuration           = "MINIO_STS_DURATION"
    	EnvMinIOLogQueryURL           = "MINIO_LOG_QUERY_URL"
    	EnvMinIOLogQueryAuthToken     = "MINIO_LOG_QUERY_AUTH_TOKEN"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  3. cmd/leak-detect_test.go

    		if len(leaked) == 0 {
    			return
    		}
    		// wait a test again will deadline.
    		if UTCNow().Before(deadline) {
    			time.Sleep(leakDetectPauseTimeMs * time.Millisecond)
    			continue
    		}
    		// after the deadline time report all the difference in the latest snapshot compared with the initial one.
    		for _, g := range leaked {
    			t.Errorf("Leaked goroutine: %v", g)
    		}
    		return
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    			}
    		}
    		if !atEOF {
    			return 0, nil, nil
    		}
    		// There is one final token to be delivered, which may be the empty string.
    		// Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this
    		// but does not trigger an error to be returned from Scan itself.
    		return 0, data, bufio.ErrFinalToken
    	}
    	scanner.Split(onComma)
    	// Scan.
    	for scanner.Scan() {
    		fmt.Printf("%q ", scanner.Text())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	}
    }
    
    // IsOnline always true in case of console logger
    func (sys *HTTPConsoleLoggerSys) IsOnline(_ context.Context) bool {
    	return true
    }
    
    // SetNodeName - sets the node name if any after distributed setup has initialized
    func (sys *HTTPConsoleLoggerSys) SetNodeName(nodeName string) {
    	if !globalIsDistErasure {
    		sys.nodeName = ""
    		return
    	}
    
    	host, err := xnet.ParseHost(globalLocalNodeName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-utils_test.go

    	}
    
    	sort.Slice(versions, func(i, j int) bool {
    		if versions[i].IsLatest {
    			return true
    		}
    		if versions[j].IsLatest {
    			return false
    		}
    		return versions[i].ModTime.After(versions[j].ModTime)
    	})
    
    	for i, fi := range fivs.Versions {
    		if fi.VersionID != versions[i].VersionID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    func reliableRename(srcFilePath, dstFilePath, baseDir string) (err error) {
    	if err = reliableMkdirAll(path.Dir(dstFilePath), 0o777, baseDir); err != nil {
    		return err
    	}
    
    	i := 0
    	for {
    		// After a successful parent directory create attempt a renameAll.
    		if err = Rename(srcFilePath, dstFilePath); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cni/pkg/repair/netns.go

    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    			// Not uncommon, many processes are transient and we have a TOCTOU here.
    			// No problem, must not be the one we are after.
    			log.Debugf("failed to open pid %v: %v", p.PID, err)
    			continue
    		}
    		id, err := netlink.GetNetNsIdByFd(fd)
    		_ = unix.Close(fd)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/godefs.go

    // (due to the printer possibly inserting newlines because of position
    // information) operators.
    var gofmtLineReplacer = strings.NewReplacer(
    	// Want to replace \n without ; after everything from
    	// https://golang.org/ref/spec#Operators_and_punctuation
    	// EXCEPT ++ -- ) ] }
    	"++\n", "++;",
    	"--\n", "--;",
    
    	"+\n", "+ ",
    	"-\n", "- ",
    	"*\n", "* ",
    	"/\n", "/ ",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. istioctl/pkg/util/handlers/handlers.go

    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    		// If there is a / in it, we need to handle differently. This is resourcetype/name.namespace.
    		// However, resourcetype can have . in it as well, so we should only look for namespace after the /.
    		separator := strings.LastIndex(name[idx:], ".")
    		if separator < 0 {
    			return name, namespace
    		}
    
    		return name[0 : idx+separator], name[idx+separator+1:]
    	}
    	separator := strings.LastIndex(name, ".")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top