Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 160 for Roll (0.35 sec)

  1. src/runtime/lock_futex.go

    }
    
    func notesleep(n *note) {
    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notesleep not on g0")
    	}
    	ns := int64(-1)
    	if *cgo_yield != nil {
    		// Sleep for an arbitrary-but-moderate interval to poll libc interceptors.
    		ns = 10e6
    	}
    	for atomic.Load(key32(&n.key)) == 0 {
    		gp.m.blocked = true
    		futexsleep(key32(&n.key), 0, ns)
    		if *cgo_yield != nil {
    			asmcgocall(*cgo_yield, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/internal/poll/sock_cloexec_solaris.go

    // The accept4(3c) function was added to Oracle Solaris in the Solaris 11.4.0
    // release. Thus, on releases prior to 11.4, we fall back to the combination
    // of accept(3c) and fcntl(2).
    
    package poll
    
    import (
    	"internal/syscall/unix"
    	"syscall"
    )
    
    // Wrapper around the accept system call that marks the returned file
    // descriptor as nonblocking and close-on-exec.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/internal/poll/sendfile_solaris.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package poll
    
    import "syscall"
    
    // Not strictly needed, but very helpful for debugging, see issue #10221.
    //
    //go:cgo_import_dynamic _ _ "libsendfile.so"
    //go:cgo_import_dynamic _ _ "libsocket.so"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/os/file_plan9.go

    	if err := f.checkValid("SetDeadline"); err != nil {
    		return err
    	}
    	return poll.ErrNoDeadline
    }
    
    // setReadDeadline sets the read deadline.
    func (f *File) setReadDeadline(time.Time) error {
    	if err := f.checkValid("SetReadDeadline"); err != nil {
    		return err
    	}
    	return poll.ErrNoDeadline
    }
    
    // setWriteDeadline sets the write deadline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/os/file_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import (
    	"errors"
    	"internal/filepathlite"
    	"internal/godebug"
    	"internal/poll"
    	"internal/syscall/windows"
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"unsafe"
    )
    
    // This matches the value in syscall/syscall_windows.go.
    const _UTIME_OMIT = -1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        sendRequest(methodName, arguments);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertNull(responseQueue.poll());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread thereby waits on the
       * given condition-like object. The lock-like object must have a method equivalent to {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/runtime/time_nofake.go

    import "unsafe"
    
    // faketime is the simulated time in nanoseconds since 1970 for the
    // playground.
    //
    // Zero means not to use faketime.
    var faketime int64
    
    // Exported via linkname for use by time and internal/poll.
    //
    // Many external packages also linkname nanotime for a fast monotonic time.
    // Such code should be updated to use:
    //
    //	var start = time.Now() // at init time
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/1-time.md

    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. cluster/addons/metrics-server/metrics-server-deployment.yaml

              - --extra-memory={{ metrics_server_memory_per_node }}Mi
              - --threshold=5
              - --deployment=metrics-server-v0.7.1
              - --container=metrics-server
              - --poll-period=30000
              - --estimator=exponential
              # Specifies the smallest cluster (defined in number of nodes)
              # resources will be scaled to.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 07:50:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/internal/poll/sendfile_windows.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package poll
    
    import (
    	"io"
    	"syscall"
    )
    
    // SendFile wraps the TransmitFile call.
    func SendFile(fd *FD, src syscall.Handle, n int64) (written int64, err error) {
    	defer func() {
    		TestHookDidSendFile(fd, 0, written, err, written > 0)
    	}()
    	if fd.kind == kindPipe {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top