Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 103 for Syscall (0.21 sec)

  1. cmd/xl-storage-disk-id-check.go

    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	SRA	$4, R4			// 84904800
    	ROTR	$4, R4, R5		// 85904c00
    	ROTR	$4, R4			// 84904c00
    	SLLV	$4, R4, R5		// 85104100
    	SLLV	$4, R4			// 84104100
    	ROTRV	$4, R4, R5		// 85104d00
    	ROTRV	$4, R4			// 84104d00
    	SYSCALL				// 00002b00
    	BEQ	R4, R5, 1(PC)		// 85040058
    	BEQ	R4, 1(PC)		// 80040040
    	BEQ	R4, R0, 1(PC)		// 80040040
    	BEQ	R0, R4, 1(PC)		// 80040040
    	BNE	R4, R5, 1(PC)		// 8504005c
    	BNE	R4, 1(PC)		// 80040044
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Nov 02 01:36:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    						if pathErr, ok := err.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								resultErrno = uintptr(errno)
    							}
    						}
    						if pathErr, ok := testCase.expectedErr.(*os.PathError); ok {
    							if errno, pok := pathErr.Err.(syscall.Errno); pok {
    								expectErrno = uintptr(errno)
    							}
    						}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. doc/asm.html

    in a Go source file in the same package. The name of the assembly
    function must not contain the package name component (for example,
    function <code>Syscall</code> in package <code>syscall</code> should
    use the name <codeSyscall</code> instead of the equivalent name
    <code>syscall·Syscall</code> in its <code>TEXT</code> directive).
    For more complex situations, explicit annotation is needed.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    		names with real values. Used to generate files in the
    		syscall package when bootstrapping a new target.
    	-importpath string
    		The import path for the Go package. Optional; used for
    		nicer comments in the generated files.
    	-import_runtime_cgo
    		If set (which it is by default) import runtime/cgo in
    		generated output.
    	-import_syscall
    		If set (which it is by default) import syscall in
    		generated output.
    	-ldflags flags
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	"context"
    	"crypto/rand"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	pathutil "path"
    	"path/filepath"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"syscall"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/google/uuid"
    	jsoniter "github.com/json-iterator/go"
    	"github.com/klauspost/filepathx"
    	"github.com/minio/madmin-go/v3"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		Name:      readTotal,
    		Help:      "Total read SysCalls to the kernel. /proc/[pid]/io syscr",
    		Type:      counterMetric,
    	}
    }
    
    func getMinIOProcessSysCallWMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: sysCallSubsystem,
    		Name:      writeTotal,
    		Help:      "Total write SysCalls to the kernel. /proc/[pid]/io syscw",
    		Type:      counterMetric,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Kubelet now hard rejects pods with AppArmor if the node does not have AppArmor. ([#125776](https://github.com/kubernetes/kubernetes/pull/125776), [@vinayakankugoyal](https://github.com/vinayakankugoyal))
    - Mount-utils: treated syscall.ENODEV as corrupted mount. ([#126174](https://github.com/kubernetes/kubernetes/pull/126174), [@dobsonj](https://github.com/dobsonj))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 12:18:32 UTC 2024
    - 315.4K bytes
    - Viewed (0)
  10. cmd/update-notifier.go

    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top