Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for Approximates (0.54 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    			}
    			stack = stack[:len(stack)-1]
    		}
    		i++
    	}
    }
    
    // traverse builds the table of events representing a traversal.
    func traverse(files []*ast.File) []event {
    	// Preallocate approximate number of events
    	// based on source file extent.
    	// This makes traverse faster by 4x (!).
    	var extent int
    	for _, f := range files {
    		extent += int(f.End() - f.Pos())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    			// ingest these resize events.
    			return
    		}
    	}
    }
    
    // createChannels returns the standard channel types for a shell connection (STDIN 0, STDOUT 1, STDERR 2)
    // along with the approximate duplex value. It also creates the error (3) and resize (4) channels.
    func createChannels(opts Options) []wsstream.ChannelType {
    	// open the requested channels, and always open the error channel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/math/log1p.go

    //               = 2s + 2/3 s**3 + 2/5 s**5 + .....,
    //               = 2s + s*R
    //      We use a special Reme algorithm on [0,0.1716] to generate
    //      a polynomial of degree 14 to approximate R The maximum error
    //      of this polynomial approximation is bounded by 2**-58.45. In
    //      other words,
    //                      2      4      6      8      10      12      14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Stopwatch.java

     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
     * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
     * are inherently approximate, routinely affected by periodic clock corrections. Because this class
     * (by default) uses {@link System#nanoTime}, it is unaffected by these changes.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Nov 15 21:38:09 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/positions.go

    			if n.Lhs != nil {
    				m = n.Lhs
    				continue
    			}
    			m = n.X
    		// case *CaseClause:
    		// case *CommClause:
    
    		default:
    			return n.Pos()
    		}
    	}
    }
    
    // EndPos returns the approximate end position of n in the source.
    // For some nodes (*Name, *BasicLit) it returns the position immediately
    // following the node; for others (*BlockStmt, *SwitchStmt, etc.) it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/compress/flate/example_test.go

    		log.Fatal(err)
    	}
    	if err := zr.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	fmt.Println()
    
    	// Substitute all of the bytes in the dictionary with a '#' to visually
    	// demonstrate the approximate effectiveness of using a preset dictionary.
    	fmt.Println("Substrings matched by the dictionary are marked with #:")
    	hashDict := []byte(dict)
    	for i := range hashDict {
    		hashDict[i] = '#'
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 12 18:42:35 UTC 2016
    - 6.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go

    		// (b) do specify field selector with the value equal to the value
    		//     coming from the processed object
    		//
    		// TODO(wojtek-t): For the sake of making progress and initially
    		// simplifying the implementation, we approximate (b) for all values
    		// as the value for an empty string. The assumption we're making here
    		// is that the difference between the actual number of watchers that
    		// will be processed, i.e. (a)+(b) above and the one from our
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

      // For discussion of <? extends Object>, see getAllPresent.
      void invalidateAll(Iterable<? extends Object> keys);
    
      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. src/go/doc/testdata/benchmark.go

    	"flag"
    	"fmt"
    	"os"
    	"runtime"
    	"time"
    )
    
    var matchBenchmarks = flag.String("test.bench", "", "regular expression to select benchmarks to run")
    var benchTime = flag.Duration("test.benchtime", 1*time.Second, "approximate run time for each benchmark")
    
    // An internal type but exported because it is cross-package; part of the implementation
    // of go test.
    type InternalBenchmark struct {
    	Name string
    	F    func(b *B)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
     * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings
     * are inherently approximate, routinely affected by periodic clock corrections. Because this class
     * (by default) uses {@link System#nanoTime}, it is unaffected by these changes.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top