Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,104 for tcpRes (0.15 sec)

  1. src/net/resolverdialfunc_test.go

    				resh.RCode = mapRCode(a.h.HandleSRV(SRVWriter{ResponseWriter{a}}, q.Name.String()))
    			}
    		}
    	}
    	tcpRes, err := builder.Finish()
    	if err != nil {
    		return 0, fmt.Errorf("Finish: %w", err)
    	}
    
    	n = len(tcpRes) - 2
    	tcpRes[0] = byte(n >> 8)
    	tcpRes[1] = byte(n)
    	a.rbuf.Write(tcpRes[2:])
    
    	return len(packet), nil
    }
    
    type someaddr struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go

    // license that can be found in the LICENSE file.
    
    // Package typesinternal provides access to internal go/types APIs that are not
    // yet exported.
    package typesinternal
    
    import (
    	"go/token"
    	"go/types"
    	"reflect"
    	"unsafe"
    )
    
    func SetUsesCgo(conf *types.Config) bool {
    	v := reflect.ValueOf(conf).Elem()
    
    	f := v.FieldByName("go115UsesCgo")
    	if !f.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    			types.Int16,
    			types.Int32,
    			types.Int64,
    			types.Uint,
    			types.Uint8,
    			types.Uint16,
    			types.Uint32,
    			types.Uint64,
    			types.Uintptr:
    			return m.t&argInt != 0
    
    		case types.UntypedFloat,
    			types.Float32,
    			types.Float64:
    			return m.t&argFloat != 0
    
    		case types.UntypedComplex,
    			types.Complex64,
    			types.Complex128:
    			return m.t&argComplex != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. pkg/volume/util/types/types.go

    limitations under the License.
    */
    
    // Package types defines types used only by volume components
    package types
    
    import (
    	"errors"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/mount-utils"
    )
    
    // UniquePodName defines the type to key pods off of
    type UniquePodName types.UID
    
    // UniquePVCName defines the type to key pvc off
    type UniquePVCName types.UID
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/apis/apidiscovery/types.go

    	// Some subresources do not return normal resources, these will have null or empty return types.
    	ResponseKind *v1.GroupVersionKind
    	// acceptedTypes describes the kinds that this endpoint accepts.
    	// Subresources may accept the standard content types or define
    	// custom negotiation schemes. The list may not be exhaustive for
    	// all operations.
    	// +listType=map
    	// +listMapKey=group
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 09 18:45:33 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Dict, Set, Type, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 12 00:29:03 UTC 2023
    - 383 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/types.go

    }
    
    // FieldTypeMap constructs a map of the field and object types nested within a given type.
    func FieldTypeMap(path string, t *DeclType) map[string]*DeclType {
    	if t.IsObject() && t.TypeName() != "object" {
    		path = t.TypeName()
    	}
    	types := make(map[string]*DeclType)
    	buildDeclTypes(path, t, types)
    	return types
    }
    
    func buildDeclTypes(path string, t *DeclType, types map[string]*DeclType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. src/database/sql/driver/types.go

    //
    //   - converting from the [Value] types as provided by the sql package
    //     into a database table's specific column type and making sure it
    //     fits, such as making sure a particular int64 fits in a
    //     table's uint16 column.
    //
    //   - converting a value as given from the database into one of the
    //     driver [Value] types.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            }
        }
    
        /**
         * Returns the most common type among given types
         */
        public static Type getUppermostType(Type[] types) {
            Type result = types[0];
            for (int i = 1; i < types.length; i++) {
                Type type = types[i];
                if (isAssignable(type, result)) {
                    result = type;
                    continue;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/examples/types.go

    // even if their underlying types are identical. This is sensible because
    // we might still have methods that have different signatures or behave
    // differently depending on the type arguments, and thus we can't possibly
    // consider such types identical. Consequently:
    func _() {
    	xint = xbool // ERROR "assignment"
    }
    
    // Generic types cannot be used without instantiation.
    var _ T // ERROR "cannot use generic type T"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top