Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for parseable (0.14 sec)

  1. src/vendor/golang.org/x/net/route/sys_darwin.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package route
    
    import "syscall"
    
    func (typ RIBType) parseable() bool {
    	switch typ {
    	case syscall.NET_RT_STAT, syscall.NET_RT_TRASH:
    		return false
    	default:
    		return true
    	}
    }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/route/sys_dragonfly.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package route
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func (typ RIBType) parseable() bool { return true }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/message.go

    const (
    	SysMetrics SysType = iota
    	SysStats
    )
    
    // ParseRIB parses b as a routing information base and returns a list
    // of routing messages.
    func ParseRIB(typ RIBType, b []byte) ([]Message, error) {
    	if !typ.parseable() {
    		return nil, errUnsupportedMessage
    	}
    	var msgs []Message
    	nmsgs, nskips := 0, 0
    	for len(b) > 4 {
    		nmsgs++
    		l := int(nativeEndian.Uint16(b[:2]))
    		if l == 0 {
    			return nil, errInvalidMessage
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/route/sys_openbsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package route
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func (typ RIBType) parseable() bool {
    	switch typ {
    	case syscall.NET_RT_STATS, syscall.NET_RT_TABLE:
    		return false
    	default:
    		return true
    	}
    }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. pilot/pkg/features/ambient.go

    )
    
    // registerAmbient registers a variable that is allowed only if EnableAmbient is set
    func registerAmbient[T env.Parseable](name string, defaultWithAmbient, defaultWithoutAmbient T, description string) T {
    	if EnableAmbient {
    		return env.Register(name, defaultWithAmbient, description).Get()
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 00:02:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/route/sys_netbsd.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package route
    
    import "syscall"
    
    func (typ RIBType) parseable() bool { return true }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. pkg/env/var.go

    	sort.Slice(sorted, func(i, j int) bool {
    		return sorted[i].Name < sorted[j].Name
    	})
    
    	return sorted
    }
    
    type Parseable interface {
    	comparable
    }
    
    type GenericVar[T Parseable] struct {
    	Var
    	delegate specializedVar[T]
    }
    
    func Register[T Parseable](name string, defaultValue T, description string) GenericVar[T] {
    	// Specialized cases
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/route/sys_freebsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package route
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func (typ RIBType) parseable() bool { return true }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/error.go

    	// check if the verbosity level in klog is high enough and print a stack trace.
    	f := flag.CommandLine.Lookup("v")
    	if f != nil {
    		// assume that the "v" flag contains a parseable Int32 as per klog's "Level" type alias,
    		// thus no error from ParseInt is handled here.
    		if v, e := strconv.ParseInt(f.Value.String(), 10, 32); e == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/net/netip/fuzz_test.go

    	"0xc0.0xa8.0x8c.0xff",
    	// IPv4 in class B form.
    	"192.168.12345",
    	// IPv4 in class B form, with a small enough number to be
    	// parseable as a regular dotted decimal field.
    	"127.0.1",
    	// IPv4 in class A form.
    	"192.1234567",
    	// IPv4 in class A form, with a small enough number to be
    	// parseable as a regular dotted decimal field.
    	"127.1",
    	// IPv4 field has value >255.
    	"192.168.300.1",
    	// IPv4 with too many fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
Back to top