Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,682 for tcpRes (0.12 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. 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)
  6. 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)
  7. 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)
  8. pkg/kubelet/types/types.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package types
    
    import (
    	"net/http"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/cri-client/pkg/logs"
    )
    
    // TODO: Reconcile custom types in kubelet/types and this subpackage
    
    // HTTPDoer encapsulates http.Do functionality
    type HTTPDoer interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/es/docs/python-types.md

    Sin tipos el auto-completado en este tipo de estructura es casi imposible de lograr:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image05.png">
    
    Observa que la variable `item` es unos de los elementos en la lista `items`.
    
    El editor aún sabe que es un `str` y provee soporte para ello.
    
    #### Tuples y Sets
    
    Harías lo mismo para declarar `tuple`s y `set`s:
    
    ```Python hl_lines="1  4"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apidiscovery/v2/types.go

    	// Some subresources do not return normal resources, these will have null or empty return types.
    	ResponseKind *v1.GroupVersionKind `json:"responseKind,omitempty" protobuf:"bytes,2,opt,name=responseKind"`
    	// 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.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top