Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Scharf (0.23 sec)

  1. cmd/metrics-v3-system-process.go

    	}
    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    	if io.WChar > 0 {
    		m.Set(processIOWCharBytes, float64(io.WChar))
    	}
    
    	if io.WriteBytes > 0 {
    		m.Set(processIOWriteBytes, float64(io.WriteBytes))
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func handleSQLTrim(r Record, e *TrimFunc, tableAlias string) (res *Value, err error) {
    	chars := ""
    	ok := false
    	if e.TrimChars != nil {
    		charsV, cerr := e.TrimChars.evalNode(r, tableAlias)
    		if cerr != nil {
    			return nil, cerr
    		}
    		inferTypeAsString(charsV)
    		chars, ok = charsV.ToString()
    		if !ok {
    			return nil, errNonStringTrimArg
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    )
    
    var debugDefine = flag.Bool("debug-define", false, "print relevant #defines")
    var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
    
    var nameToC = map[string]string{
    	"schar":         "signed char",
    	"uchar":         "unsigned char",
    	"ushort":        "unsigned short",
    	"uint":          "unsigned int",
    	"ulong":         "unsigned long",
    	"longlong":      "long long",
    	"ulonglong":     "unsigned long long",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. cmd/update_test.go

    	}
    	os.Unsetenv("KUBERNETES_SERVICE_HOST")
    
    	kubernetes = IsKubernetes()
    	if kubernetes {
    		t.Fatalf("Expected %t, got %t", false, kubernetes)
    	}
    }
    
    // Tests if the environment we are running is Helm chart.
    func TestGetHelmVersion(t *testing.T) {
    	createTempFile := func(content string) string {
    		tmpfile, err := os.CreateTemp("", "helm-testfile-")
    		if err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. internal/event/target/mysql.go

    )
    
    const (
    	mysqlTableExists = `SELECT 1 FROM %s;`
    	// Some MySQL has a 3072 byte limit on key sizes.
    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    		Mode:   0755 | fs.ModeSymlink,
    	},
    	{
    		Name:   "device",
    		Data:   []byte("device file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice,
    	},
    	{
    		Name:   "chardevice",
    		Data:   []byte("char device file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice | fs.ModeCharDevice,
    	},
    }
    
    func TestWriter(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "storeforever=false&factory=true",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Tags with encoded chars)
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    C.ulonglong (unsigned long long), C.float, C.double,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  9. internal/config/identity/plugin/config.go

    		h.Write([]byte(pluginURL))
    		bs := h.Sum(nil)
    		resourceID += base64.RawURLEncoding.EncodeToString(bs)
    	} else {
    		// Check that the roleID is restricted to URL safe characters
    		// (base64 URL encoding chars).
    		if !validRoleIDRegex.MatchString(roleID) {
    			return args, config.Errorf("Role ID must match the regexp `^[a-zA-Z0-9_-]+$`")
    		}
    
    		// Use the user provided ID here.
    		resourceID += roleID
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  10. cmd/xl-storage_test.go

    		// One path segment length is > 255 chars long.
    		{"path/to/my/object0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", errFileNameTooLong},
    		// path length is > 1024 chars long.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top