Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for ct (0.02 sec)

  1. migrator/column_type.go

    	if ct.LengthValue.Valid {
    		return ct.LengthValue.Int64, true
    	}
    	return ct.SQLColumnType.Length()
    }
    
    // DecimalSize returns the scale and precision of a decimal type.
    func (ct ColumnType) DecimalSize() (precision int64, scale int64, ok bool) {
    	if ct.DecimalSizeValue.Valid {
    		return ct.DecimalSizeValue.Int64, ct.ScaleValue.Int64, true
    	}
    	return ct.SQLColumnType.DecimalSize()
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/conntrack_test.go

    }
    
    // Gets the command that ct executed. (If it didn't execute any commands, this will
    // return "".)
    func (ct *testCT) getExecutedCommand() string {
    	// FakeExec panics if you try to run more commands than you set it up for. So the
    	// only possibilities here are that we ran 1 command or we ran 0.
    	if ct.execer.(*fakeexec.FakeExec).CommandCalls != 1 {
    		return ""
    	}
    	return strings.Join(ct.fcmd.CombinedOutputLog[0], " ")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/match.go

    		}
    		conf := language.Exact
    		for {
    			if index, ok := m.index[ct]; ok {
    				return ct, index, conf
    			}
    			if ct == language.Und {
    				break
    			}
    			ct = ct.Parent()
    			conf = language.High
    		}
    	}
    	return language.Und, 0, language.No
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. migrator/table_type.go

    }
    
    // Schema returns the schema of the table.
    func (ct TableType) Schema() string {
    	return ct.SchemaValue
    }
    
    // Name returns the name of the table.
    func (ct TableType) Name() string {
    	return ct.NameValue
    }
    
    // Type returns the type of the table.
    func (ct TableType) Type() string {
    	return ct.TypeValue
    }
    
    // Comment returns the comment of current table.
    func (ct TableType) Comment() (comment string, ok bool) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri May 05 07:58:27 UTC 2023
    - 688 bytes
    - Viewed (0)
  5. src/crypto/cipher/cipher_test.go

    		cbce.CryptBlocks(ct, pt[:0])
    		assertEqual("CBC encrypt", ct, pt)
    
    		cbcd := cipher.NewCBCDecrypter(b, iv)
    		cbcd.CryptBlocks(ct, pt[:0])
    		assertEqual("CBC decrypt", ct, pt)
    
    		cfbe := cipher.NewCFBEncrypter(b, iv)
    		cfbe.XORKeyStream(ct, pt[:0])
    		assertEqual("CFB encrypt", ct, pt)
    
    		cfbd := cipher.NewCFBDecrypter(b, iv)
    		cfbd.XORKeyStream(ct, pt[:0])
    		assertEqual("CFB decrypt", ct, pt)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:42:23 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/fmtsort/sort_test.go

    	"unsafe"
    )
    
    var compareTests = [][]reflect.Value{
    	ct(reflect.TypeOf(int(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int8(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int16(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int32(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int64(0)), -1, 0, 1),
    	ct(reflect.TypeOf(uint(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint8(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint16(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint32(0)), 0, 1, 5),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/capture/testdata/ip-range.golden

    iptables -t raw -A ISTIO_OUTPUT -p udp --sport 15053 -m owner --uid-owner 3 -j CT --zone 2
    iptables -t raw -A ISTIO_OUTPUT -p udp --dport 53 -m owner --uid-owner 4 -j CT --zone 1
    iptables -t raw -A ISTIO_OUTPUT -p udp --sport 15053 -m owner --uid-owner 4 -j CT --zone 2
    iptables -t raw -A ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1 -j CT --zone 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/database/sql/convert_test.go

    		}
    		if ct.wantuint != 0 && ct.wantuint != uintValue(ct.d) {
    			errf("want uint %d, got %d", ct.wantuint, uintValue(ct.d))
    		}
    		if ct.wantf32 != 0 && ct.wantf32 != float32Value(ct.d) {
    			errf("want float32 %v, got %v", ct.wantf32, float32Value(ct.d))
    		}
    		if ct.wantf64 != 0 && ct.wantf64 != float64Value(ct.d) {
    			errf("want float32 %v, got %v", ct.wantf64, float64Value(ct.d))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/capture/testdata/dns-uid-gid.golden

    iptables -t raw -A ISTIO_OUTPUT -p udp --sport 15053 -m owner --uid-owner 3 -j CT --zone 2
    iptables -t raw -A ISTIO_OUTPUT -p udp --dport 53 -m owner --uid-owner 4 -j CT --zone 1
    iptables -t raw -A ISTIO_OUTPUT -p udp --sport 15053 -m owner --uid-owner 4 -j CT --zone 2
    iptables -t raw -A ISTIO_OUTPUT -p udp --dport 53 -m owner --gid-owner 1 -j CT --zone 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/proxy/conntrack/conntrack.go

    }
    
    // exec executes the conntrack tool using the given parameters
    func (ct *execCT) exec(parameters ...string) error {
    	conntrackPath, err := ct.execer.LookPath("conntrack")
    	if err != nil {
    		return fmt.Errorf("error looking for path of conntrack: %v", err)
    	}
    	klog.V(4).InfoS("Clearing conntrack entries", "parameters", parameters)
    	output, err := ct.execer.Command(conntrackPath, parameters...).CombinedOutput()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top