Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for incorrectly (0.17 sec)

  1. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        assertThat(compareCalls[0]).isAtMost(10L * n * IntMath.log2(k, RoundingMode.CEILING));
      }
    
      public void testExceedMaxIteration() {
        /*
         * Bug #5692 occurred when TopKSelector called Arrays.sort incorrectly.
         */
        TopKSelector<Integer> top = TopKSelector.least(7);
        top.offerAll(Ints.asList(5, 7, 6, 2, 4, 3, 1, 0, 0, 0, 0, 0, 0, 0));
        assertThat(top.topK()).isEqualTo(Ints.asList(0, 0, 0, 0, 0, 0, 0));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    //
    // See the documentation of the fmt package for the complete set of
    // format operators and their operand types.
    //
    // # Examples
    //
    // The %d format operator requires an integer operand.
    // Here it is incorrectly applied to a string:
    //
    //	fmt.Printf("%d", "hello") // fmt.Printf format %d has arg "hello" of wrong type string
    //
    // A call to Printf must have as many operands as there are "verbs" in
    // the format string, not too few:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/debug/stack.go

    		// a G, so we must call f.Fd() eagerly. This creates a
    		// danger that that the file descriptor is no longer
    		// valid at the time of the write, because the caller
    		// (incorrectly) called f.Close() and the kernel
    		// reissued the fd in a later call to open(2), leading
    		// to crashes being written to the wrong file.
    		//
    		// So, we duplicate the fd to obtain a private one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. internal/config/etcd/etcd.go

    	if err != nil {
    		return cfg, err
    	}
    
    	cfg.Enabled = true
    	cfg.DialTimeout = defaultDialTimeout
    	cfg.DialKeepAliveTime = defaultDialKeepAlive
    	// Disable etcd client SDK logging, etcd client
    	// incorrectly starts logging in unexpected data
    	// format.
    	cfg.LogConfig = &zap.Config{
    		Level:    zap.NewAtomicLevelAt(zap.FatalLevel),
    		Encoding: "console",
    	}
    	cfg.Endpoints = etcdEndpoints
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleDistribution.java

         */
        boolean isToolingApiStdinInEmbeddedModeSupported();
    
        /**
         * Returns true if the tooling API of this distribution incorrectly locks build action implementation classes.
         */
        boolean isToolingApiLocksBuildActionClasses();
    
        /**
         * Returns the version of the artifact cache layout
         */
        CacheVersion getArtifactCacheLayoutVersion();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. docs/hotfixes.md

        on his policy is granted more privileges than restricted
        by the users IAM policy.
    
        This is due to an issue of prefix based Matcher() function
        which was incorrectly matching prefix based on resource
        prefixes instead of exact match.
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/cmd/fix/main.go

    	doDiff    = flag.Bool("diff", false, "display diffs instead of rewriting files")
    	goVersion = flag.String("go", "", "go language version for files")
    )
    
    // enable for debugging fix failures
    const debug = false // display incorrectly reformatted source and exit
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool fix [-diff] [-r fixname,...] [-force fixname,...] [path ...]\n")
    	flag.PrintDefaults()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/internal/chacha8rand/chacha8.go

    	s.c = 0
    	s.i = 0
    	s.n = chunk
    }
    
    // Refill refills the state with more random values.
    // After a call to Refill, an immediate call to Next will succeed
    // (unless multiple goroutines are incorrectly sharing a state).
    func (s *State) Refill() {
    	s.c += ctrInc
    	if s.c == ctrMax {
    		// Reseed with generated uint64s for forward secrecy.
    		// Normally this is done immediately after computing a block,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    		if line != "" {
    			// Found non-comment non-blank line.
    			// Ends space for valid //go:build comments,
    			// but also ends the fraction of the file we can
    			// reliably parse. From this point on we might
    			// incorrectly flag "comments" inside multiline
    			// string constants or anything else (this might
    			// not even be a Go program). So stop.
    			break
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/sync/rwmutex.go

    // events in order to provide the more precise model above to the race
    // detector.
    //
    // For example, atomic.AddInt32 in RLock should not appear to provide
    // acquire-release semantics, which would incorrectly synchronize racing
    // readers, thus potentially missing races.
    
    // RLock locks rw for reading.
    //
    // It should not be used for recursive read locking; a blocked Lock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top