Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,857 for knownOS (0.12 sec)

  1. src/cmd/go/internal/modindex/syslist.go

    // This file is a lightly modified copy go/build/syslist_test.go.
    
    package modindex
    
    // knownOS is the list of past, present, and future known GOOS values.
    // Do not remove from this list, as it is used for filename matching.
    // If you add an entry to this list, look at unixOS, below.
    var knownOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    	"darwin":    true,
    	"dragonfly": true,
    	"freebsd":   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 01:45:58 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/go/build/syslist.go

    // internal/goos/gengoos.go. If you change this file, look at those
    // files as well.
    
    // knownOS is the list of past, present, and future known GOOS values.
    // Do not remove from this list, as it is used for filename matching.
    // If you add an entry to this list, look at unixOS, below.
    var knownOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    	"darwin":    true,
    	"dragonfly": true,
    	"freebsd":   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/imports/build.go

    		l = l[:n-1]
    	}
    	n := len(l)
    	if n >= 2 && KnownOS[l[n-2]] && KnownArch[l[n-1]] {
    		return matchTag(l[n-2], tags, true) && matchTag(l[n-1], tags, true)
    	}
    	if n >= 1 && KnownOS[l[n-1]] {
    		return matchTag(l[n-1], tags, true)
    	}
    	if n >= 1 && KnownArch[l[n-1]] {
    		return matchTag(l[n-1], tags, true)
    	}
    	return true
    }
    
    var KnownOS = map[string]bool{
    	"aix":       true,
    	"android":   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. src/internal/goos/gengoos.go

    	"fmt"
    	"log"
    	"os"
    	"strings"
    )
    
    var gooses []string
    
    func main() {
    	data, err := os.ReadFile("../../go/build/syslist.go")
    	if err != nil {
    		log.Fatal(err)
    	}
    	const goosPrefix = `var knownOS = map[string]bool{`
    	inGOOS := false
    	for _, line := range strings.Split(string(data), "\n") {
    		if strings.HasPrefix(line, goosPrefix) {
    			inGOOS = true
    		} else if inGOOS && strings.HasPrefix(line, "}") {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 21:31:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/script/conds.go

    	conds["GOOS"] = PrefixCondition(
    		"runtime.GOOS == <suffix>",
    		func(_ *State, suffix string) (bool, error) {
    			if suffix == runtime.GOOS {
    				return true, nil
    			}
    			if _, ok := imports.KnownOS[suffix]; !ok {
    				return false, fmt.Errorf("unrecognized GOOS %q", suffix)
    			}
    			return false, nil
    		})
    
    	conds["GOARCH"] = PrefixCondition(
    		"runtime.GOARCH == <suffix>",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/build.go

    	if n := len(l); n > 0 && l[n-1] == "test" {
    		l = l[:n-1]
    	}
    	n := len(l)
    	if n >= 2 && knownOS[l[n-2]] && knownArch[l[n-1]] {
    		if allTags != nil {
    			// In case we short-circuit on l[n-1].
    			allTags[l[n-2]] = true
    		}
    		return ctxt.matchTag(l[n-1], allTags) && ctxt.matchTag(l[n-2], allTags)
    	}
    	if n >= 1 && (knownOS[l[n-1]] || knownArch[l[n-1]]) {
    		return ctxt.matchTag(l[n-1], allTags)
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	if n := len(l); n > 0 && l[n-1] == "test" {
    		l = l[:n-1]
    	}
    	n := len(l)
    	if n >= 2 && knownOS[l[n-2]] && knownArch[l[n-1]] {
    		if allTags != nil {
    			// In case we short-circuit on l[n-1].
    			allTags[l[n-2]] = true
    		}
    		return ctxt.matchTag(l[n-1], allTags) && ctxt.matchTag(l[n-2], allTags)
    	}
    	if n >= 1 && (knownOS[l[n-1]] || knownArch[l[n-1]]) {
    		return ctxt.matchTag(l[n-1], allTags)
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. releasenotes/notes/pilot-load-dns-cert-known-location-deprecate-flags.yaml

    issue:
      - 36916
    
    
    # releaseNotes is a markdown listing of any user facing changes. This will appear in the
    # release notes.
    releaseNotes:
    - |
      **Improved** Pilot will now load its DNS serving certificate from well known locations:
      ```
      /var/run/secrets/istiod/tls/tls.crt
      /var/run/secrets/istiod/tls/tls.key
      /var/run/secrets/istiod/ca/root-cert.pem
      ```
      The CA path will alternatively be loaded from: `/var/run/secrets/tls/ca.crt`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 29 22:41:21 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	}
    	return nil
    }
    
    func knownGroupVersion(gv schema.GroupVersion) bool {
    	for _, knownGv := range knownGroupVersions {
    		if gv == knownGv {
    			return true
    		}
    	}
    	return false
    }
    
    func (o *AuditOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

                return foundUnknown ? null : hasher.hash();
            }
    
            private boolean addToHash(ClassLoader cl) {
                byte[] knownId = knownClassLoaders.get(cl);
                if (knownId != null) {
                    hasher.putBytes(knownId);
                    return false;
                }
                if (cl instanceof CachingClassLoader || cl instanceof MultiParentClassLoader) {
                    return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top