Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 347 for index (0.04 sec)

  1. src/vendor/golang.org/x/net/lif/link.go

    // address or address pair for tunneling. It's usual that multiple
    // logical network interfaces share the same logical data link.
    type Link struct {
    	Name  string // name, equivalent to IP interface name
    	Index int    // index, equivalent to IP interface index
    	Type  int    // type
    	Flags int    // flags
    	MTU   int    // maximum transmission unit, basically link MTU but may differ between IP address families
    	Addr  []byte // address
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    		for _, n := range b.Nodes {
    			fmt.Fprintf(&text, "\n%s", formatNode(fset, n))
    		}
    
    		// node and edges
    		fmt.Fprintf(&buf, "  n%d [label=%q];\n", b.Index, &text)
    		for _, succ := range b.Succs {
    			fmt.Fprintf(&buf, "  n%d -> n%d;\n", b.Index, succ.Index)
    		}
    	}
    	buf.WriteString("}\n")
    	return buf.String()
    }
    
    func formatNode(fset *token.FileSet, n ast.Node) string {
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/crypto/tls/common_string.go

    // Code generated by "stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go"; DO NOT EDIT.
    
    package tls
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[PKCS1WithSHA256-1025]
    	_ = x[PKCS1WithSHA384-1281]
    	_ = x[PKCS1WithSHA512-1537]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go

    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    	in := string(buf[:n])
    	const features = "\nFeatures	: "
    	i := strings.Index(in, features)
    	if i == -1 {
    		return errors.New("no CPU features found")
    	}
    	in = in[i+len(features):]
    	if i := strings.Index(in, "\n"); i != -1 {
    		in = in[:i]
    	}
    	m := map[string]*bool{}
    
    	initOptions() // need it early here; it's harmless to call twice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. pkg/controller/job/pod_failure_policy.go

    				case batch.PodFailurePolicyActionFailJob:
    					msg := fmt.Sprintf("Container %s for pod %s/%s failed with exit code %v matching %v rule at index %d",
    						containerStatus.Name, failedPod.Namespace, failedPod.Name, containerStatus.State.Terminated.ExitCode, podFailurePolicyRule.Action, index)
    					return &msg, true, &failJob
    				}
    			}
    		} else if podFailurePolicyRule.OnPodConditions != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 20:44:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/sync/poolqueue.go

    // but not typically a property considered in the literature.
    type poolDequeue struct {
    	// headTail packs together a 32-bit head index and a 32-bit
    	// tail index. Both are indexes into vals modulo len(vals)-1.
    	//
    	// tail = index of oldest data in queue
    	// head = index of next slot to fill
    	//
    	// Slots in the range [tail, head) are owned by consumers.
    	// A consumer continues to own a slot outside this range until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm_test.go

    		{REG_K0, REG_K7},
    		{REG_X0, REG_X31},
    		{REG_Y0, REG_Y31},
    		{REG_Z0, REG_Z31},
    	}
    
    	for _, test := range tests {
    		for index, reg := 0, test.regFrom; reg <= test.regTo; index, reg = index+1, reg+1 {
    			have := regIndex(int16(reg))
    			want := index
    			if have != want {
    				regName := rconv(int(reg))
    				t.Errorf("regIndex(%s):\nhave: %d\nwant: %d",
    					regName, have, want)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. test/typeparam/graph.go

    	// but for this test that doesn't matter.
    
    	// Set the index field in the map. Simpler than doing it in the
    	// composite literal.
    	for k := range zork {
    		r := zork[k]
    		r.index = k
    		zork[k] = r
    	}
    
    	var nodes []mazeRoom
    	for idx, room := range zork {
    		mridx := room
    		mridx.index = idx
    		nodes = append(nodes, mridx)
    	}
    	g := _New[mazeRoom, mazeEdge](nodes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    	// Colors with high numbers than supported may be treated as zero.
    	Color int
    }
    
    // StackSlot identifies a particular StackSlot.
    type StackSlot struct {
    	Stack int // Index in StackSet.Stacks
    	Pos   int // Index in Stack.Sources
    }
    
    // Stacks returns a StackSet for the profile in rpt.
    func (rpt *Report) Stacks() StackSet {
    	// Get scale for converting to default unit of the right type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/internal/zstd/window.go

    		} else {
    			w.data = append(w.data, buf[:free]...)
    			w.off = copy(w.data, buf[free:])
    		}
    	}
    }
    
    // appendTo appends stored bytes between from and to indices to the buf.
    // Index from must be less or equal to index to and to must be less or equal to w.len().
    func (w *window) appendTo(buf []byte, from, to uint32) []byte {
    	dataLen := uint32(len(w.data))
    	from += uint32(w.off)
    	to += uint32(w.off)
    
    	wrap := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top