Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for ct (0.02 sec)

  1. src/net/http/cgi/child.go

    		clen, err := strconv.ParseInt(lenstr, 10, 64)
    		if err != nil {
    			return nil, errors.New("cgi: bad CONTENT_LENGTH in environment: " + lenstr)
    		}
    		r.ContentLength = clen
    	}
    
    	if ct := params["CONTENT_TYPE"]; ct != "" {
    		r.Header.Set("Content-Type", ct)
    	}
    
    	// Copy "HTTP_FOO_BAR" variables to "Foo-Bar" Headers
    	for k, v := range params {
    		if k == "HTTP_HOST" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/encoding/gob/type_test.go

    		{&N1{}, "*gob.N1"},
    		{N2{}, "encoding/gob.N2"},
    	}
    
    	for _, tc := range testCases {
    		Register(tc.t)
    
    		tct := reflect.TypeOf(tc.t)
    		ct, _ := nameToConcreteType.Load(tc.name)
    		if ct != tct {
    			t.Errorf("nameToConcreteType[%q] = %v, want %v", tc.name, ct, tct)
    		}
    		// concreteTypeToName is keyed off the base type.
    		if tct.Kind() == reflect.Pointer {
    			tct = tct.Elem()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/handler.go

    		if !ok {
    			break
    		}
    		buffer.WriteString(fmt.Sprintf("    %s:%d\r\n", file, line))
    	}
    	klog.Errorln(buffer.String())
    
    	headers := http.Header{}
    	if ct := w.Header().Get("Content-Type"); len(ct) > 0 {
    		headers.Set("Accept", ct)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 14 17:10:00 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. clause/clause.go

    		if c.AfterExpression != nil {
    			builder.WriteByte(' ')
    			c.AfterExpression.Build(builder)
    		}
    	}
    }
    
    const (
    	PrimaryKey   string = "~~~py~~~" // primary key
    	CurrentTable string = "~~~ct~~~" // current table
    	Associations string = "~~~as~~~" // associations
    )
    
    var (
    	currentTable  = Table{Name: CurrentTable}
    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/helpers_test.go

    		add rule ip kube-proxy filter-prerouting ct state new jump firewall-check
    		add rule ip kube-proxy filter-forward ct state new jump endpoints-check
    		add rule ip kube-proxy filter-input ct state new jump endpoints-check
    		add rule ip kube-proxy filter-output ct state new jump endpoints-check
    		add rule ip kube-proxy filter-output ct state new jump firewall-check
    		add rule ip kube-proxy nat-output jump services
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. pkg/apis/core/fuzzer/fuzzer.go

    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(ct *core.Container, c fuzz.Continue) {
    			c.FuzzNoCustom(ct)                                          // fuzz self without calling this function again
    			ct.TerminationMessagePath = "/" + ct.TerminationMessagePath // Must be non-empty
    			ct.TerminationMessagePolicy = "File"
    		},
    		func(ep *core.EphemeralContainer, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top