Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 633 for lwsync (0.11 sec)

  1. src/syscall/errors_plan9.go

    package syscall
    
    // Constants
    const (
    	// Invented values to support what package os expects.
    	O_CREAT    = 0x02000
    	O_APPEND   = 0x00400
    	O_NOCTTY   = 0x00000
    	O_NONBLOCK = 0x00000
    	O_SYNC     = 0x00000
    	O_ASYNC    = 0x00000
    
    	S_IFMT   = 0x1f000
    	S_IFIFO  = 0x1000
    	S_IFCHR  = 0x2000
    	S_IFDIR  = 0x4000
    	S_IFBLK  = 0x6000
    	S_IFREG  = 0x8000
    	S_IFLNK  = 0xa000
    	S_IFSOCK = 0xc000
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 22 13:31:24 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  2. internal/ioutil/append-file_nix.go

    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. docs/bucket/replication/DESIGN.md

    replicate objects one at a time so as not to impede server load. Ideally, resync should not be initiated for multiple buckets simultaneously - progress of the syncing can be monitored by looking at `mc replicate resync status alias/bucket --remote-bucket <arn>`. In the event that resync operation failed to replicate some versions, they would be picked up by the healing mechanism in-built as part of the scanner. If the resync operation reports a failed status or in the event of a cluster restart while...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/timeout_test.go

    */
    
    package ipam
    
    import (
    	"errors"
    	"testing"
    	"time"
    )
    
    func TestTimeout(t *testing.T) {
    	time10s := 10 * time.Second
    	time5s := 5 * time.Second
    	timeout := &Timeout{
    		Resync:       time10s,
    		MaxBackoff:   time5s,
    		InitialRetry: time.Second,
    	}
    
    	for _, testStep := range []struct {
    		err  error
    		want time.Duration
    	}{
    		{nil, time10s},
    		{nil, time10s},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compiler_test.cc

      NameAttrList fn;
      fn.set_name("foo");
    
      // Using a mock here to determine when the async compilation finishes. This is
      // to avoid using absl::SleepFor().
      // `RegisterCompilation` is the last call that happens just before the async
      // compilation completes. We use the completion of this call to determine when
      // the compilation finshes to verify expected behavior.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/rate_limiters.go

    func (r *FixedItemIntervalRateLimiter) Forget(item string) {
    }
    
    // NewDefaultHPARateLimiter creates a rate limiter which limits overall (as per the
    // default controller rate limiter), as well as per the resync interval
    func NewDefaultHPARateLimiter(interval time.Duration) workqueue.TypedRateLimiter[string] {
    	return NewFixedItemIntervalRateLimiter(interval)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    	if raceenabled {
    		if n > 0 {
    			raceWriteRange(unsafe.Pointer(&p[0]), n)
    		}
    		if err == nil {
    			raceAcquire(unsafe.Pointer(&ioSync))
    		}
    	}
    	return
    }
    
    func Write(fd int, p []byte) (n int, err error) {
    	if raceenabled {
    		raceReleaseMerge(unsafe.Pointer(&ioSync))
    	}
    	n, err = write(fd, p)
    	if raceenabled && n > 0 {
    		raceReadRange(unsafe.Pointer(&p[0]), n)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_compilation_profiler.cc

      std::optional<int64_t> compile_threshold;
      if (compile_mode == DeviceCompileMode::kLazy) {
        compile_threshold = kDefaultCompilationThreshold;
      } else if (compile_mode == DeviceCompileMode::kAsync) {
        compile_threshold = 0;  // for now, always compile right away.
      }
    
      if (compile_mode == DeviceCompileMode::kStrict) {
        // Lazy compilation is disabled.
        return true;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. cmd/globals.go

    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// List of local drives to this node, this is only set during server startup,
    	// and is only mutated by HealFormat. Hold globalLocalDrivesMu to access.
    	globalLocalDrives    []StorageAPI
    	globalLocalDrivesMap = make(map[string]StorageAPI)
    	globalLocalDrivesMu  sync.RWMutex
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_compile_util.h

    namespace tensorflow {
    // The number of compiler threads to use for asynchronous device compilation.
    inline constexpr int64_t kNumAsyncDeviceCompilerThreads = 10;
    
    enum class DeviceCompileMode {
      kLazy,
      kStrict,
      kAsync,
    };
    
    enum class DeviceCompileState {
      kUncompiled,
      kCompiling,
      kCompiled,
    };
    
    // Creates a single-node graph using the specified `node_def` as the only op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top