Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for ct (0.03 sec)

  1. tools/istio-iptables/pkg/constants/constants.go

    }
    
    // Constants used for generating iptables commands
    const (
    	TCP = "tcp"
    	UDP = "udp"
    
    	TPROXY   = "TPROXY"
    	RETURN   = "RETURN"
    	ACCEPT   = "ACCEPT"
    	REDIRECT = "REDIRECT"
    	MARK     = "MARK"
    	CT       = "CT"
    	DROP     = "DROP"
    )
    
    const (
    	// IPVersionSpecific is used as an input to rules that will be replaced with an ip version (v4/v6)
    	// specific value
    	IPVersionSpecific = "PLACEHOLDER_IP_VERSION_SPECIFIC"
    )
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 01:42:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/run.go

    		f.Run("-p", "udp", "--dport", "53", "-m", "owner", "--uid-owner", uid, "-j", constants.CT, "--zone", "1")
    		// Packets with src port 15053 from istio to zone 2. These are Istio response packets to application clients
    		f.Run("-p", "udp", "--sport", "15053", "-m", "owner", "--uid-owner", uid, "-j", constants.CT, "--zone", "2")
    	}
    	for _, gid := range split(proxyGID) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    		new(concurrentTxStmtExecTest),
    	}
    	for _, ct := range c.tests {
    		ct.init(t, db)
    	}
    }
    
    func (c *concurrentRandomTest) finish(t testing.TB) {
    	for _, ct := range c.tests {
    		ct.finish(t)
    	}
    }
    
    func (c *concurrentRandomTest) test(t testing.TB) error {
    	ct := c.tests[rand.Intn(len(c.tests))]
    	return ct.test(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. src/math/rand/v2/rand_test.go

    	if testing.Short() && (testenv.Builder() == "" || hasSlowFloatingPoint()) {
    		num /= 100 // 1.72 seconds instead of 172 seconds
    	}
    
    	r := testRand()
    	for ct := 0; ct < num; ct++ {
    		f := r.Float32()
    		if f >= 1 {
    			t.Fatal("Float32() should be in range [0,1). ct:", ct, "f:", f)
    		}
    	}
    }
    
    func TestShuffleSmall(t *testing.T) {
    	// Check that Shuffle allows n=0 and n=1, but that swap is never called for them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/math/rand/rand_test.go

    		num /= 100 // 1.72 seconds instead of 172 seconds
    	}
    
    	r := New(NewSource(1))
    	for ct := 0; ct < num; ct++ {
    		f := r.Float32()
    		if f >= 1 {
    			t.Fatal("Float32() should be in range [0,1). ct:", ct, "f:", f)
    		}
    	}
    }
    
    func testReadUniformity(t *testing.T, n int, seed int64) {
    	r := New(NewSource(seed))
    	buf := make([]byte, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768_test.go

    		s.Read(d)
    		s.Read(z)
    		ek, dk := GenerateKeyDerand(t, d, z)
    		o.Write(ek)
    		o.Write(dk.Bytes())
    
    		s.Read(msg)
    		ct, k, err := EncapsulateDerand(ek, msg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		o.Write(ct)
    		o.Write(k)
    
    		kk, err := Decapsulate(dk, ct)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !bytes.Equal(kk, k) {
    			t.Errorf("k: got %x, expected %x", kk, k)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_test.go

    			emptyEnvoyLogging,
    		},
    	}
    	type args struct {
    		ct   *computedTelemetries
    		tel  Telemetry
    		spec *tpb.Telemetry
    	}
    
    	tests := []struct {
    		name string
    		args args
    		want *computedTelemetries
    	}{
    		{
    			name: "empty telemetry configuration",
    			args: args{
    				ct:   &computedTelemetries{},
    				tel:  Telemetry{},
    				spec: &tpb.Telemetry{},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  8. src/image/gif/writer.go

    	} else {
    		ct, err := encodeColorTable(e.localColorTable[:], pm.Palette, paddedSize)
    		if err != nil {
    			if e.err == nil {
    				e.err = err
    			}
    			return
    		}
    		// This frame's palette is not the very same slice as the global
    		// palette, but it might be a copy, possibly with one value turned into
    		// transparency by DecodeAll.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/type.go

    		at := (*arraytype)(unsafe.Pointer(t))
    		av := (*arraytype)(unsafe.Pointer(v))
    		return typesEqual(at.Elem, av.Elem, seen) && at.Len == av.Len
    	case abi.Chan:
    		ct := (*chantype)(unsafe.Pointer(t))
    		cv := (*chantype)(unsafe.Pointer(v))
    		return ct.Dir == cv.Dir && typesEqual(ct.Elem, cv.Elem, seen)
    	case abi.Func:
    		ft := (*functype)(unsafe.Pointer(t))
    		fv := (*functype)(unsafe.Pointer(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/crypto/internal/hpke/hpke_test.go

    					}
    					if !bytes.Equal(computedNonce, expectedNonce) {
    						t.Errorf("unexpected nonce: got %x, want %x", computedNonce, expectedNonce)
    					}
    
    					expectedCiphertext := mustDecodeHex(t, enc["ct"])
    					ciphertext, err := context.Seal(mustDecodeHex(t, enc["aad"]), mustDecodeHex(t, enc["pt"]))
    					if err != nil {
    						t.Fatal(err)
    					}
    					if !bytes.Equal(ciphertext, expectedCiphertext) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top