Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,820 for ipnets (0.21 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    	"testing"
    	"time"
    
    	"golang.org/x/net/http2"
    
    	netutils "k8s.io/utils/net"
    )
    
    func getIPNet(cidr string) *net.IPNet {
    	_, ipnet, _ := netutils.ParseCIDRSloppy(cidr)
    	return ipnet
    }
    
    func TestIPNetEqual(t *testing.T) {
    	testCases := []struct {
    		ipnet1 *net.IPNet
    		ipnet2 *net.IPNet
    		expect bool
    	}{
    		// null case
    		{
    			getIPNet("10.0.0.1/24"),
    			getIPNet(""),
    			false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/util/iptree/iptree_test.go

    	ok = tree.InsertPrefix(ipnet2, 2)
    	if ok {
    		t.Errorf("should not exist: %s", ipnet2)
    	}
    
    	ok = tree.InsertPrefix(ipnet2, 3)
    	if !ok {
    		t.Errorf("should be updated: %s", ipnet2)
    	}
    
    	if v, ok := tree.GetPrefix(ipnet2); !ok || v != 3 {
    		t.Errorf("CIDR %s not expected", ipnet2)
    	}
    
    	// check longer prefix matching
    	ipnet3 := netip.MustParsePrefix("12.1.0.2/32")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/img/configuration-cache/inputs-report.png

    inputs-report.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. cni/pkg/ipset/ipset.go

    // doesn't support creating `list:set` types yet (is in main branch tho).
    // So this will actually create 2 underlying ipsets, one for v4 and one for v6
    func NewIPSet(name string, v6 bool, deps NetlinkIpsetDeps) (IPSet, error) {
    	var err error
    	set := IPSet{
    		V4Name: fmt.Sprintf(V4Name, name),
    		Deps:   deps,
    		Prefix: name,
    	}
    	err = deps.ipsetIPHashCreate(set.V4Name, false)
    	if v6 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset.go

    )
    
    // IPSetVersioner can query the current ipset version.
    type IPSetVersioner interface {
    	// returns "X.Y"
    	GetVersion() (string, error)
    }
    
    // IPSet wraps util/ipset which is used by IPVS proxier.
    type IPSet struct {
    	utilipset.IPSet
    	// activeEntries is the current active entries of the ipset.
    	activeEntries sets.Set[string]
    	// handle is the util ipset interface handle.
    	handle utilipset.Interface
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/legacy-fed-input-without-inputs.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-shapes='' -tf-output-arrays=input -tf-convert-legacy-fed-inputs -o - | FileCheck --check-prefix=NODATATYPE %s
    
    # Verify that invalid LegacyFedInput ops without any inputs are replaced with
    # Placeholder ops.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu-annotate-dynamic-shape-inputs.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-tpu-annotate-dynamic-shape-inputs %s | FileCheck %s
    
    // Test that annotate the inputs of the cluster func to be dynamic shaped.
    
    module attributes {tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
       func.func @main(
          %arg0: tensor<2048xi64> {tf.device = "/job:localhost/replica:0/task:0/device:CPU:0"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Ints extends IntsMethodsForWeb {
      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. docs/en/docs/img/sponsors/ines-course.jpg

    ines-course.jpg...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Apr 17 21:00:49 UTC 2022
    - 11.5K bytes
    - Viewed (0)
Back to top