Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,508 for makeID (0.12 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/common_caching_problems.adoc

    You would need to ensure that the absolute path is the same between machines. Most times it makes sense to track the file or the contents of the directory the absolute path points to.
    If the absolute path represents a tool being used it probably makes sense to track the tool version as an input instead.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    		ptyp.index = tp.index
    
    		return ptyp
    	}
    
    	return f(x.typ)
    }
    
    // makeSig makes a signature for the given argument and result types.
    // Default types are used for untyped arguments, and res may be nil.
    func makeSig(res Type, args ...Type) *Signature {
    	list := make([]*Var, len(args))
    	for i, param := range args {
    		list[i] = NewVar(nopos, nil, "", Default(param))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/compress/flate/deflate_test.go

    		s:        0,
    		want:     3,
    	}, {
    		previous: make([]byte, 1000),
    		current:  make([]byte, 1000),
    		t:        -1000,
    		s:        0,
    		want:     maxMatchLength - 4,
    	}, {
    		previous: make([]byte, 200),
    		current:  make([]byte, 500),
    		t:        -200,
    		s:        0,
    		want:     maxMatchLength - 4,
    	}, {
    		previous: make([]byte, 200),
    		current:  make([]byte, 500),
    		t:        0,
    		s:        1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

          }
          group.self += (place.Pos == stack.Sources.length-1) ? stack.Value : 0;
          group.places.push(place);
        }
    
        // Order by decreasing cost (makes it easier to spot heavy functions).
        // Though alphabetical ordering is a potential alternative that will make
        // profile comparisons easier.
        groups.sort(function(a, b) {
          return (b.sumpos + b.sumneg) - (a.sumpos + a.sumneg);
        });
    
        return groups;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/cache.go

    	if size == 0 {
    		// File now exists with correct size.
    		// Only one possible zero-length file, so contents are OK too.
    		// Early return here makes sure there's a "last byte" for code below.
    		return nil
    	}
    
    	// From here on, if any of the I/O writing the file fails,
    	// we make a best-effort attempt to truncate the file f
    	// before returning, to avoid leaving bad bytes in the file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. test/prove.go

    		f := foobar[i]
    		foobar = foobar[:i] // ERROR "IsSliceInBounds"
    		f()
    	}
    }
    
    func make1(n int) []int {
    	s := make([]int, n)
    	for i := 0; i < n; i++ { // ERROR "Induction variable: limits \[0,\?\), increment 1"
    		s[i] = 1 // ERROR "Proved IsInBounds$"
    	}
    	return s
    }
    
    func make2(n int) []int {
    	s := make([]int, n)
    	for i := range s { // ERROR "Induction variable: limits \[0,\?\), increment 1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    	origCtx, store, _ := testSetup(t)
    	ctx, cancel := context.WithCancel(origCtx)
    	w := store.watcher.createWatchChan(ctx, "/abc", 0, false, false, storage.Everything)
    	// make resultChan and errChan blocking to ensure ordering.
    	w.resultChan = make(chan watch.Event)
    	w.errChan = make(chan error)
    	// The event flow goes like:
    	// - first we send an error, it should block on resultChan.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    		ptyp.index = tp.index
    
    		return ptyp
    	}
    
    	return f(x.typ)
    }
    
    // makeSig makes a signature for the given argument and result types.
    // Default types are used for untyped arguments, and res may be nil.
    func makeSig(res Type, args ...Type) *Signature {
    	list := make([]*Var, len(args))
    	for i, param := range args {
    		list[i] = NewVar(nopos, nil, "", Default(param))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modcmd/vendor.go

    	src, realPath, _ := modload.Lookup("", false, pkg)
    	if src == "" {
    		base.Errorf("internal error: no pkg for %s\n", pkg)
    		return
    	}
    	if realPath != pkg {
    		// TODO(#26904): Revisit whether this behavior still makes sense.
    		// This should actually be impossible today, because the import map is the
    		// identity function for packages outside of the standard library.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Append the length of the encrypted DEK as the first 2 bytes.
    	encKeyLen := make([]byte, 2)
    	encKeyBytes := []byte(encKey)
    	binary.BigEndian.PutUint16(encKeyLen, uint16(len(encKeyBytes)))
    
    	prefix := append(encKeyLen, encKeyBytes...)
    
    	prefixedData := make([]byte, len(prefix), len(data)+len(prefix))
    	copy(prefixedData, prefix)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top