Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for link (0.14 sec)

  1. cni/pkg/repair/netns.go

    	}
    	return res, nil
    }
    
    func findNetworkIDByIP(ip string) (int, error) {
    	link, err := getLinkWithDestinationOf(ip)
    	if err != nil {
    		return 0, fmt.Errorf("find link for %v: %v", ip, err)
    	}
    	return link.Attrs().NetNsID, nil
    }
    
    func getLinkWithDestinationOf(ip string) (netlink.Link, error) {
    	routes, err := netlink.RouteListFiltered(
    		netlink.FAMILY_V4,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    	for p := top; p != nil; p = p.Link {
    		if p.As == obj.ATEXT {
    			text = p.From.Sym
    		}
    		hexes := hexByLine[p.Line()]
    		if hexes == "" {
    			continue
    		}
    		delete(hexByLine, p.Line())
    		if text == nil {
    			t.Errorf("%s: instruction outside TEXT", p)
    		}
    		size := int64(len(text.P)) - p.Pc
    		if p.Link != nil {
    			size = p.Link.Pc - p.Pc
    		} else if p.Isize != 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/options.go

    	// since the IP is normally the same), we SNAT identified host probes in the host netns to a fixed
    	// APIPA/"link-local" IP.
    	//
    	// It doesn't matter what this IP is, so long as it's not routable and doesn't collide with anything else.
    	//
    	// IPv6 link local ranges are designed to be collision-resistant by default, and so probably never need to be overridden
    	DefaultHostProbeSNATIP   = "169.254.7.127"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex.go

    	File() string
    	// Base reports the position base of the token.
    	Base() *src.PosBase
    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/archive/tar/format.go

    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    // nearest block edge where 0 <= n < blockSize.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    	currLinkLatency MetricName = "current_link_latency_ms"
    	avgLinkLatency  MetricName = "average_link_latency_ms"
    	maxLinkLatency  MetricName = "max_link_latency_ms"
    
    	linkOnline                MetricName = "link_online"
    	linkOfflineDuration       MetricName = "link_offline_duration_seconds"
    	linkDowntimeTotalDuration MetricName = "link_downtime_duration_seconds"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. cmd/update.go

    	}
    
    	sha256Sum, releaseTime, _, err = parseReleaseData(data)
    	return
    }
    
    const (
    	// Kubernetes deployment doc link.
    	kubernetesDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes"
    
    	// Mesos deployment doc link.
    	mesosDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    		default:
    			p.errorf("unrecognized suffix .%q", cond)
    			return
    		}
    	}
    	if p.firstProg == nil {
    		p.firstProg = prog
    	} else {
    		p.lastProg.Link = prog
    	}
    	p.lastProg = prog
    	if doLabel {
    		p.pc++
    		for _, label := range p.pendingLabels {
    			if p.labels[label] != nil {
    				p.errorf("label %q multiply defined", label)
    				return
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    			break
    		}
    		joinReq.SvcAcctParent = v.AccessKey
    		err = admClient.SRPeerJoin(ctx, joinReq)
    		if err != nil {
    			peerAddErr = errSRPeerResp(fmt.Errorf("unable to link with peer %s: %w", v.Name, err))
    			break
    		}
    		addedCount++
    	}
    
    	if peerAddErr != nil {
    		if addedCount == 0 {
    			return madmin.ReplicateAddStatus{}, peerAddErr
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top