Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 103 for igmp (0.06 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	// because the example needs to use the object so it must be defined
    	// in the package or one if its imports. On the other hand, false
    	// negatives are possible, but should be rare.
    	for _, imp := range pkg.Imports() {
    		if obj := imp.Scope().Lookup(name); obj != nil {
    			ret = append(ret, obj)
    		}
    	}
    	return ret
    }
    
    // This pattern is taken from /go/src/go/doc/example.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/ipvs_linux_test.go

    			t.Errorf("case %d failed to translate Destination - got %#v, want %#v", i, *got, Tests[i].ipvsDestination)
    		}
    	}
    }
    
    func Test_stringToProtocol(t *testing.T) {
    	tests := []string{
    		"TCP", "UDP", "ICMP", "SCTP",
    	}
    	expected := []uint16{
    		uint16(unix.IPPROTO_TCP), uint16(unix.IPPROTO_UDP), uint16(0), uint16(unix.IPPROTO_SCTP),
    	}
    	for i := range tests {
    		got := stringToProtocol(tests[i])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 27 16:37:50 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/go/build/build.go

    		}
    
    		// Record imports and information about cgo.
    		isCgo := false
    		for _, imp := range info.imports {
    			if imp.path == "C" {
    				if isTest {
    					badGoFile(name, fmt.Errorf("use of cgo in test %s not supported", filename))
    					continue
    				}
    				isCgo = true
    				if imp.doc != nil {
    					if err := ctxt.saveCgo(filename, p, imp.doc); err != nil {
    						badGoFile(name, err)
    					}
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gccgo.go

    		}
    	}
    	return ofiles, nil
    }
    
    func (gccgoToolchain) symabis(b *Builder, a *Action, sfiles []string) (string, error) {
    	return "", nil
    }
    
    func gccgoArchive(basedir, imp string) string {
    	end := filepath.FromSlash(imp + ".a")
    	afile := filepath.Join(basedir, end)
    	// add "lib" to the final element
    	return filepath.Join(filepath.Dir(afile), "lib"+filepath.Base(afile))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset/ipset_test.go

    				SetType:  HashIPPort,
    				IP:       "10.20.30.40",
    				Protocol: "ICMP",
    				Port:     8090,
    			},
    			set: &IPSet{
    				Name: "unsupported-protocol",
    			},
    			valid: false,
    		},
    		{ // case[11]
    			entry: &Entry{
    				SetType:  HashIPPort,
    				IP:       "10.20.30.40",
    				Protocol: "ICMP",
    				Port:     -1,
    			},
    			set: &IPSet{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/bugreport/bugreport.go

    			logRuntime(startTime, "Done getting from proxy logs for %v/%v/%v", namespace, pod, container)
    		}()
    
    		clog, cstat, imp, err := getLog(runner, resources, config, namespace, pod, container)
    		appendGlobalErr(err)
    		lock.Lock()
    		if err == nil {
    			logs[path], stats[path], importance[path] = clog, cstat, imp
    		}
    		lock.Unlock()
    		log.Infof("Done with proxy logs %v/%v/%v", namespace, pod, container)
    	}()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. src/encoding/xml/read.go

    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		if len(src) == 0 {
    			dst.SetInt(0)
    			return nil
    		}
    		itmp, err := strconv.ParseInt(strings.TrimSpace(string(src)), 10, dst.Type().Bits())
    		if err != nil {
    			return err
    		}
    		dst.SetInt(itmp)
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		if len(src) == 0 {
    			dst.SetUint(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/test.go

    			p.Internal.ForceLibrary = true
    			p.Internal.PGOProfile = preal.Internal.PGOProfile
    		}
    
    		// Update p.Internal.Imports to use test copies.
    		for i, imp := range p.Internal.Imports {
    			if p1 := testCopy[imp]; p1 != nil && p1 != imp {
    				split()
    
    				// If the test dependencies cause a cycle with pmain, this is
    				// where it is introduced.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. internal/config/identity/plugin/config.go

    	rolePolicy := env.Get(EnvIdentityPluginRolePolicy, kv.Get(RolePolicy))
    	if rolePolicy == "" {
    		return args, config.Errorf("A role policy must be specified for Identity Management Plugin")
    	}
    
    	resourceID := "idmp-"
    	roleID := env.Get(EnvIdentityPluginRoleID, kv.Get(RoleID))
    	if roleID == "" {
    		// We use a hash of the plugin URL so that the ARN remains
    		// constant across restarts.
    		h := sha1.New()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/crypto/internal/boring/rsa.go

    	}
    	if !bigToBn(&key.n, N) ||
    		!bigToBn(&key.e, E) ||
    		!bigToBn(&key.d, D) ||
    		!bigToBn(&key.p, P) ||
    		!bigToBn(&key.q, Q) ||
    		!bigToBn(&key.dmp1, Dp) ||
    		!bigToBn(&key.dmq1, Dq) ||
    		!bigToBn(&key.iqmp, Qinv) {
    		return nil, fail("BN_bin2bn")
    	}
    	k := &PrivateKeyRSA{_key: key}
    	runtime.SetFinalizer(k, (*PrivateKeyRSA).finalize)
    	return k, nil
    }
    
    func (k *PrivateKeyRSA) finalize() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top