Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for parseable (0.19 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. 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)
  8. 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)
  9. tensorflow/c/eager/abstract_operation.h

      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
      // the result will be used as a constraint for device placement. See the
      // documentation for DeviceName for more details.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 14 16:20:41 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                        toolchainsSource.getLocation(),
                        loc != null ? loc.getLineNumber() : -1,
                        loc != null ? loc.getColumnNumber() : -1,
                        e,
                        "Non-parseable toolchains " + toolchainsSource.getLocation() + ": " + e.getMessage(),
                        BuilderProblem.Severity.FATAL));
                return PersistedToolchains.newInstance();
            } catch (IOException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top