Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for s_ (0.14 sec)

  1. src/archive/zip/struct.go

    	// Unix constants. The specification doesn't mention them,
    	// but these seem to be the values agreed on by tools.
    	s_IFMT   = 0xf000
    	s_IFSOCK = 0xc000
    	s_IFLNK  = 0xa000
    	s_IFREG  = 0x8000
    	s_IFBLK  = 0x6000
    	s_IFDIR  = 0x4000
    	s_IFCHR  = 0x2000
    	s_IFIFO  = 0x1000
    	s_ISUID  = 0x800
    	s_ISGID  = 0x400
    	s_ISVTX  = 0x200
    
    	msdosDir      = 0x10
    	msdosReadOnly = 0x01
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint_test.go

    			cd, _ := os.ReadFile("testdata/endpoint/configdump.json")
    			cw.Prime(cd)
    			err := cw.PrintEndpointsSummary(tt.filter)
    			assert.NoError(t, err)
    
    			wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.txt", tt.name))
    			util.CompareContent(t, gotOut.Bytes(), wantOutputFile)
    		})
    	}
    }
    
    func TestPrintEndpoints(t *testing.T) {
    	tests := []struct {
    		name         string
    		outputFormat string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    	if requireAvgMax {
    		avgName := MetricName(fmt.Sprintf("%s_avg", name))
    		avgHelp := fmt.Sprintf("%s (avg)", help)
    		metrics = append(metrics, MetricV2{
    			Description:    getResourceMetricDescription(subSys, avgName, avgHelp),
    			Value:          math.Round(rm.Avg*100) / 100,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    
    		maxName := MetricName(fmt.Sprintf("%s_max", name))
    		maxHelp := fmt.Sprintf("%s (max)", help)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/is-dir-empty_linux.go

    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. internal/logger/targets.go

    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("sys_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	for _, t := range audit {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("audit_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	return res
    }
    
    // AddSystemTarget adds a new logger target to the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. istioctl/pkg/metrics/metrics.go

    	return sm, nil
    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    	latencyQuery := fmt.Sprintf(`histogram_quantile(%f, sum(rate(%s_bucket{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s])) by (le))`,
    		quantile, reqDur, destWorkloadLabel, workloadName, destWorkloadNamespaceLabel, workloadNamespace, duration)
    
    	letency, err := vectorValue(promAPI, latencyQuery)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	if deref == "*" {
    		index.X = &ast.StarExpr{X: index.X}
    	}
    	fmt.Fprintf(sb, "_cgo%d := %s; ", i, gofmtPos(arg, arg.Pos()))
    	index.X = origX
    
    	fmt.Fprintf(sbCheck, "_cgoCheckPointer(_cgo%d, %s_cgoIndex%d); ", i, deref, i)
    
    	return true
    }
    
    // checkAddr checks whether arg has the form &x, possibly inside type
    // conversions. If so, it writes
    //
    //	_cgoBaseNN := &x
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top