Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for sally (0.06 sec)

  1. test/fixedbugs/issue13779.go

    // Issue 13779: provide better error message when directly assigning to struct field in map
    
    package main
    
    func main() {
    	type person struct{ age, weight, height int }
    	students := map[string]person{"sally": person{12, 50, 32}}
    	students["sally"].age = 3 // ERROR "cannot assign to struct field .* in map"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 24 15:07:16 UTC 2016
    - 483 bytes
    - Viewed (0)
  2. docs/tls/README.md

    #unit = "sleeping dept."
    
    # The state of the certificate owner.
    state = "Example"
    
    # The country of the subject. Two letter code.
    country = "EX"
    
    # The common name of the certificate owner.
    cn = "Sally Certowner"
    
    # In how many days, counting from today, this certificate will expire.
    expiration_days = 365
    
    # X.509 v3 extensions
    
    # DNS name(s) of the server
    dns_name = "localhost"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. src/testing/allocs.go

    	// Read the final statistics
    	runtime.ReadMemStats(&memstats)
    	mallocs += memstats.Mallocs
    
    	// Average the mallocs over the runs (not counting the warm-up).
    	// We are forced to return a float64 because the API is silly, but do
    	// the division as integers so we can ask if AllocsPerRun()==1
    	// instead of AllocsPerRun()<2.
    	return float64(mallocs / uint64(runs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * created arrays to have a {@code @Nullable} element type even when they're created directly with
       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    //
    // A perfect hash seemed like overkill.
    //
    // The compiler's switch statement is the clear winner
    // as it produces a binary tree in code,
    // with constant conditions and good branch prediction.
    // (Sadly it is the most verbose in source code.)
    // Binary search suffered from poor branch prediction.
    func typeOf(n ast.Node) uint64 {
    	// Fast path: nearly half of all nodes are identifiers.
    	if _, ok := n.(*ast.Ident); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt

    func Hello(prefs ...language.Tag) string {
    	if len(prefs) == 0 {
    		prefs = DefaultUserPrefs()
    	}
    	return hello.find(prefs)
    }
    
    // Glass returns a localized silly phrase.
    // If no prefs are given, Glass uses DefaultUserPrefs.
    func Glass(prefs ...language.Tag) string {
    	if len(prefs) == 0 {
    		prefs = DefaultUserPrefs()
    	}
    	return glass.find(prefs)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    		Authorization:  NewDelegatingAuthorizationOptions(),
    		Audit:          NewAuditOptions(),
    		Features:       NewFeatureOptions(),
    		CoreAPI:        NewCoreAPIOptions(),
    		// Wired a global by default that sadly people will abuse to have different meanings in different repos.
    		// Please consider creating your own FeatureGate so you can have a consistent meaning for what a variable contains
    		// across different repos.  Future you will thank you.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt

    func Hello(prefs ...language.Tag) string {
    	if len(prefs) == 0 {
    		prefs = DefaultUserPrefs()
    	}
    	return hello.find(prefs)
    }
    
    // Glass returns a localized silly phrase.
    // If no prefs are given, Glass uses DefaultUserPrefs.
    func Glass(prefs ...language.Tag) string {
    	if len(prefs) == 0 {
    		prefs = DefaultUserPrefs()
    	}
    	return glass.find(prefs)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 10 00:47:06 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/internal/buildid/note.go

    	return "", nil
    }
    
    // The Go build ID is stored at the beginning of the Mach-O __text segment.
    // The caller has already opened filename, to get f, and read a few kB out, in data.
    // Sadly, that's not guaranteed to hold the note, because there is an arbitrary amount
    // of other junk placed in the file ahead of the main text.
    func readMacho(name string, f *os.File, data []byte) (buildid string, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 20:40:42 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top