Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for ifcs (0.04 sec)

  1. src/net/interface_plan9.go

    		if err != nil {
    			return nil, err
    		}
    		ifcs := make([]Interface, n)
    		for i := range ifcs {
    			ifc, err := readInterface(i)
    			if err != nil {
    				return nil, err
    			}
    			ifcs[i] = *ifc
    		}
    		return ifcs, nil
    	}
    
    	ifc, err := readInterface(ifindex - 1)
    	if err != nil {
    		return nil, err
    	}
    	return []Interface{*ifc}, nil
    }
    
    func readInterface(i int) (*Interface, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/net/udpsock_plan9_test.go

    	testenv.MustHaveExternalNetwork(t)
    
    	ifcs, err := Interfaces()
    	if err != nil {
    		t.Skip(err.Error())
    	}
    	if len(ifcs) == 0 {
    		t.Skip("no network interfaces found")
    	}
    
    	var mifc *Interface
    	for _, ifc := range ifcs {
    		if ifc.Flags&FlagUp|FlagMulticast != FlagUp|FlagMulticast {
    			continue
    		}
    		mifc = &ifc
    		break
    	}
    
    	if mifc == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 16 17:46:16 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  3. src/internal/godebugs/godebugs_test.go

    	data, err := os.ReadFile("../../../doc/godebug.md")
    	if err != nil {
    		if os.IsNotExist(err) && (testenv.Builder() == "" || runtime.GOOS != "linux") {
    			t.Skip(err)
    		}
    		t.Fatal(err)
    	}
    	doc := string(data)
    
    	incs := incNonDefaults(t)
    
    	last := ""
    	for _, info := range godebugs.All {
    		if info.Name <= last {
    			t.Errorf("All not sorted: %s then %s", last, info.Name)
    		}
    		last = info.Name
    
    		if info.Package == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/runtime/pinner_test.go

    }
    
    func TestPinnerInterface(t *testing.T) {
    	var pinner runtime.Pinner
    	o := new(obj)
    	ifc := any(o)
    	pinner.Pin(&ifc)
    	if !runtime.IsPinned(unsafe.Pointer(&ifc)) {
    		t.Fatal("not marked as pinned")
    	}
    	if runtime.IsPinned(unsafe.Pointer(o)) {
    		t.Fatal("marked as pinned")
    	}
    	pinner.Unpin()
    	pinner.Pin(ifc)
    	if !runtime.IsPinned(unsafe.Pointer(o)) {
    		t.Fatal("not marked as pinned")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/ld.go

    	// Create a new init func text symbol. Caller will populate this
    	// sym with arch-specific content.
    	ifs := ctxt.loader.LookupOrCreateSym("go:link.addmoduledata", 0)
    	initfunc := ctxt.loader.MakeSymbolUpdater(ifs)
    	ctxt.loader.SetAttrReachable(ifs, true)
    	ctxt.loader.SetAttrLocal(ifs, true)
    	initfunc.SetType(sym.STEXT)
    
    	// Add the init func and/or addmoduledata to Textp.
    	if ctxt.BuildMode == BuildModePlugin {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. maven-model-builder/src/test/resources/poms/validation/bad-plugin-version.xml

          <plugin>
            <groupId>test</groupId>
            <artifactId>lmv</artifactId>
            <version>LATEST</version>
          </plugin>
          <plugin>
            <groupId>test</groupId>
            <artifactId>ifsc</artifactId>
            <version>1/1</version>
          </plugin>
        </plugins>
      </build>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Nov 24 21:36:06 UTC 2010
    - 1.6K bytes
    - Viewed (0)
  7. pilot/test/xdstest/extract.go

    	for _, f := range l.GetFilterChains() {
    		res = append(res, f.GetName())
    	}
    	return res
    }
    
    func ExtractFilterNames(t test.Failer, fcs *listener.FilterChain) ([]string, []string) {
    	nwFilters := []string{}
    	httpFilters := []string{}
    	for _, fc := range fcs.Filters {
    		if fc.Name == wellknown.HTTPConnectionManager {
    			h := &hcm.HttpConnectionManager{}
    			if fc.GetTypedConfig() != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. hack/make-rules/verify.sh

      "verify-test-images.sh"
      "verify-vendor-licenses.sh"
    )
    
    while IFS='' read -r line; do EXCLUDED_CHECKS+=("$line"); done < <(ls "${EXCLUDED_PATTERNS[@]/#/${KUBE_ROOT}/hack/}" 2>/dev/null || true)
    while IFS='' read -r line; do QUICK_CHECKS+=("$line"); done < <(ls "${QUICK_PATTERNS[@]/#/${KUBE_ROOT}/hack/}" 2>/dev/null || true)
    TARGET_LIST=()
    IFS=" " read -r -a TARGET_LIST <<< "${WHAT:-}"
    
    function is-excluded {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 12:24:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/completion.go

    		# somehow does not work. Maybe, zsh does not call this at all
    		eval echo "$1"
    		return 0
    	fi
    
    	OLD_IFS="$IFS"
    	IFS=$'\n'
    	if [ "$1" = "-d" ]; then
    		shift
    		RET=( $(compgen -d) )
    	else
    		RET=( $(compgen -f) )
    	fi
    	IFS="$OLD_IFS"
    
    	IFS="," __kubectl_debug "RET=${RET[@]} len=${#RET[@]}"
    
    	for w in ${RET[@]}; do
    		if [[ ! "${w}" = "${cur}"* ]]; then
    			continue
    		fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 25 09:28:34 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_macros_internal.h

    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top