Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for fn_name (0.4 sec)

  1. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	expectedDNSNames := []string{"myNode", "localhost", proxy}
    	for _, DNSName := range expectedDNSNames {
    		t.Run(DNSName, func(t *testing.T) {
    			found := false
    			for _, val := range altNames.DNSNames {
    				if val == DNSName {
    					found = true
    					break
    				}
    			}
    
    			if !found {
    				t.Errorf("altNames does not contain DNSName %s", DNSName)
    			}
    		})
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/builtin.go

    	if size.Type().IsKind(types.TIDEAL) || size.Type().Size() <= types.Types[types.TUINT].Size() {
    		fnname = "makechan"
    		argtype = types.Types[types.TINT]
    	}
    
    	return mkcall1(chanfn(fnname, 1, n.Type()), n.Type(), init, reflectdata.MakeChanRType(base.Pos, n), typecheck.Conv(size, argtype))
    }
    
    // walkMakeMap walks an OMAKEMAP node.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    		}
    	}
    }
    
    func checkExampleName(pass *analysis.Pass, fn *ast.FuncDecl) {
    	fnName := fn.Name.Name
    	if params := fn.Type.Params; len(params.List) != 0 {
    		pass.Reportf(fn.Pos(), "%s should be niladic", fnName)
    	}
    	if results := fn.Type.Results; results != nil && len(results.List) != 0 {
    		pass.Reportf(fn.Pos(), "%s should return nothing", fnName)
    	}
    	if tparams := fn.Type.TypeParams; tparams != nil && len(tparams.List) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. hack/make-rules/test.sh

    reportCoverageToCoveralls() {
      if [[ ${KUBE_COVER} =~ ^[yY]$ ]] && [[ -x "${KUBE_GOVERALLS_BIN}" ]]; then
        kube::log::status "Reporting coverage results to Coveralls for service ${CI_NAME:-}"
        ${KUBE_GOVERALLS_BIN} -coverprofile="${COMBINED_COVER_PROFILE}" \
        ${CI_NAME:+"-service=${CI_NAME}"} \
        ${COVERALLS_REPO_TOKEN:+"-repotoken=${COVERALLS_REPO_TOKEN}"} \
          || true
      fi
    }
    
    checkFDs() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/convert.go

    			n = copyExpr(n, fromType, init)
    		}
    		fn = typecheck.LookupRuntime(fnname, fromType)
    		args = []ir.Node{reflectdata.ConvIfaceSrcRType(base.Pos, conv), typecheck.NodAddr(n)}
    	} else {
    		// Use a specialized conversion routine that takes the type being
    		// converted by value, not by pointer.
    		fn = typecheck.LookupRuntime(fnname)
    		var arg ir.Node
    		switch {
    		case fromType == argType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. internal/logger/config.go

    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    	return cfg
    }
    
    func getCfgVal(envName, key, defaultValue string) string {
    	if key != config.Default {
    		envName = envName + config.Default + key
    	}
    	return env.Get(envName, defaultValue)
    }
    
    func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config {
    	cfg := NewConfig()
    	switch subSys {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    		var foundObjects bool
    		err := readDirFn(pathJoin(f.root, folder.name), func(entName string, typ os.FileMode) error {
    			// Parse
    			entName = pathClean(pathJoin(folder.name, entName))
    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/certs.go

    		return ""
    	}
    	// This mutates the certConfig, but we're throwing it after we construct the command anyway
    	sans := []string{}
    
    	for _, dnsName := range certConfig.AltNames.DNSNames {
    		if dnsName != "" {
    			sans = append(sans, dnsName)
    		}
    	}
    
    	for _, ip := range certConfig.AltNames.IPs {
    		sans = append(sans, ip.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.subjectAlternativeNames.toList()).containsExactly(
          listOf(GeneralName.iPAddress, "1.1.1.1"),
          listOf(GeneralName.dNSName, "cash.app"),
        )
      }
    
      @Test
      fun commonName() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. pkg/kubelet/certificate/kubelet.go

    				seenIPs[address.Address] = true
    			}
    		case v1.NodeExternalDNS, v1.NodeInternalDNS:
    			seenDNSNames[address.Address] = true
    		}
    	}
    
    	for dnsName := range seenDNSNames {
    		dnsNames = append(dnsNames, dnsName)
    	}
    	for ip := range seenIPs {
    		ips = append(ips, netutils.ParseIPSloppy(ip))
    	}
    
    	// return in stable order
    	sort.Strings(dnsNames)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top