Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 304 for Tstruct (0.17 sec)

  1. src/text/template/exec_test.go

    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    	U *U
    	// Struct with String method.
    	V0     V
    	V1, V2 *V
    	// Struct with Error method.
    	W0     W
    	W1, W2 *W
    	// Slices
    	SI      []int
    	SICap   []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    }
    
    type G int
    
    func (g G) GoString() string {
    	return Sprintf("GoString(%d)", int(g))
    }
    
    type S struct {
    	F F // a struct field that Formats
    	G G // a struct field that GoStrings
    }
    
    type SI struct {
    	I any
    }
    
    // P is a type with a String method with pointer receiver for testing %p.
    type P int
    
    var pValue P
    
    func (p *P) String() string {
    	return "String(p)"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  3. tests/integration/security/authz_test.go

    				FromMatch(fromMatch).
    				ToMatch(toMatch).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    					allow := allowValue(from.NamespacedName() == allowed.NamespacedName())
    
    					cases := []struct {
    						ports []echo.Port
    						path  string
    						allow allowValue
    					}{
    						{
    							ports: []echo.Port{ports.GRPC, ports.TCP},
    							allow: allow,
    						},
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    	// to writeLoop via this chan.
    	continueCh chan<- struct{}
    
    	callerGone <-chan struct{} // closed when roundTrip caller has returned
    }
    
    // A writeRequest is sent by the caller's goroutine to the
    // writeLoop's goroutine to write a request while the read loop
    // concurrently waits on both the write response and the server's
    // reply.
    type writeRequest struct {
    	req *transportRequest
    	ch  chan<- error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_messages.go

    		}
    	}
    
    	return true
    }
    
    type endOfEarlyDataMsg struct{}
    
    func (m *endOfEarlyDataMsg) marshal() ([]byte, error) {
    	x := make([]byte, 4)
    	x[0] = typeEndOfEarlyData
    	return x, nil
    }
    
    func (m *endOfEarlyDataMsg) unmarshal(data []byte) bool {
    	return len(data) == 4
    }
    
    type keyUpdateMsg struct {
    	updateRequested bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    // ValidatingAdmissionPolicy
    type TypeChecking struct {
    	// The type checking warnings for each expression.
    	// +optional
    	// +listType=atomic
    	ExpressionWarnings []ExpressionWarning `json:"expressionWarnings,omitempty" protobuf:"bytes,1,rep,name=expressionWarnings"`
    }
    
    // ExpressionWarning is a warning information that targets a specific expression.
    type ExpressionWarning struct {
    	// The path to the field that refers the expression.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    // Cacher implements storage.Interface (although most of the calls are just
    // delegated to the underlying storage).
    type Cacher struct {
    	// HighWaterMarks for performance debugging.
    	// Important: Since HighWaterMark is using sync/atomic, it has to be at the top of the struct due to a bug on 32-bit platforms
    	// See: https://golang.org/pkg/sync/atomic/ for more information
    	incomingHWM storage.HighWaterMark
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    // ValidatingAdmissionPolicy
    type TypeChecking struct {
    	// The type checking warnings for each expression.
    	// +optional
    	// +listType=atomic
    	ExpressionWarnings []ExpressionWarning `json:"expressionWarnings,omitempty" protobuf:"bytes,1,rep,name=expressionWarnings"`
    }
    
    // ExpressionWarning is a warning information that targets a specific expression.
    type ExpressionWarning struct {
    	// The path to the field that refers the expression.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  9. src/crypto/x509/x509.go

    }
    
    type dsaAlgorithmParameters struct {
    	P, Q, G *big.Int
    }
    
    type validity struct {
    	NotBefore, NotAfter time.Time
    }
    
    type publicKeyInfo struct {
    	Raw       asn1.RawContent
    	Algorithm pkix.AlgorithmIdentifier
    	PublicKey asn1.BitString
    }
    
    // RFC 5280,  4.2.1.1
    type authKeyId struct {
    	Id []byte `asn1:"optional,tag:0"`
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    				panic(err)
    			}
    			c.Close()
    			readDone <- struct{}{}
    		}()
    
    		if i&1 == 1 {
    			startWrite <- struct{}{}
    			startRead <- struct{}{}
    		} else {
    			startRead <- struct{}{}
    			startWrite <- struct{}{}
    		}
    		<-readDone
    	}
    }
    
    var getClientCertificateTests = []struct {
    	setup               func(*Config, *Config)
    	expectedClientError string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top