Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 647 for overflows (0.21 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun nonBasicCodePointInInsertionCoding() {
        assertNull(Punycode.decode("xn--cat-ñ3h"))
      }
    
      @Test fun unterminatedCodePoint() {
        assertNull(Punycode.decode("xn--cat-n"))
      }
    
      @Test fun overflowI() {
        assertNull(Punycode.decode("xn--99999999"))
      }
    
      @Test fun overflowMaxCodePoint() {
        assertNull(Punycode.decode("xn--a-b.net"))
        assertNull(Punycode.decode("xn--a-9b.net"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    			n = 0
    			err = strconv.ErrSyntax
    			goto Error
    		}
    
    		if n >= cutoff {
    			// n*base overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n *= uint64(base)
    
    		n1 := n + uint64(v)
    		if n1 < n || n1 > maxVal {
    			// n+v overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n = n1
    	}
    
    	return n, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    		return
    	}
    
    	// If we'd need to let the counter overflow and keep generating output,
    	// panic immediately. If instead we'd only reach the last block, remember
    	// not to generate any more output after the buffer is drained.
    	numBlocks := (uint64(len(src)) + blockSize - 1) / blockSize
    	if s.overflow || uint64(s.counter)+numBlocks > 1<<32 {
    		panic("chacha20: counter overflow")
    	} else if uint64(s.counter)+numBlocks == 1<<32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  4. src/runtime/profbuf.go

    	overflow := b.overflow.Load()
    	time = b.overflowTime.Load()
    	for {
    		count = uint32(overflow)
    		if count == 0 {
    			time = 0
    			break
    		}
    		// Increment generation, clear overflow count in low bits.
    		if b.overflow.CompareAndSwap(overflow, ((overflow>>32)+1)<<32) {
    			break
    		}
    		overflow = b.overflow.Load()
    		time = b.overflowTime.Load()
    	}
    	return uint32(overflow), time
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
          return result;
        }
    
        @Override
        public long distance(Long start, Long end) {
          long result = end - start;
          if (end > start && result < 0) { // overflow
            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/internal/coverage/cmerge/merge_test.go

    		}
    		for i := 0; i < scenario.iters; i++ {
    			err, ovf = m.MergeCounters(scenario.dst, scenario.src)
    			if ovf != scenario.overflow {
    				t.Fatalf("case %d overflow mismatch: got %v want %v", k, ovf, scenario.overflow)
    			}
    			if !scenario.merr && err != nil {
    				t.Fatalf("case %d unexpected err %v", k, err)
    			}
    			if scenario.merr && err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/runtime/histogram_test.go

    	if ok {
    		t.Errorf("expected to hit underflow bucket: (%d, %d)", -1, 0)
    	}
    	if c != 1 {
    		t.Errorf("overflow bucket has count that is not 1: %d", c)
    	}
    
    	c, ok = h.Count(TimeHistNumBuckets+1, 0)
    	if ok {
    		t.Errorf("expected to hit overflow bucket: (%d, %d)", TimeHistNumBuckets+1, 0)
    	}
    	if c != 2 {
    		t.Errorf("overflow bucket has count that is not 2: %d", c)
    	}
    
    	dummyTimeHistogram = TimeHistogram{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:01 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css

    body {
      overflow: hidden; /* Want scrollbar not here, but in #stack-holder */
    }
    /* Scrollable container for flame graph */
    #stack-holder {
      width: 100%;
      flex-grow: 1;
      overflow-y: auto;
      background: #eee; /* Light grey gives better contrast with boxes */
      position: relative; /* Allows absolute positioning of child boxes */
    }
    /* Flame graph */
    #stack-chart {
      width: 100%;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/shift_test.go

    		t.Errorf("shift overflow mishandled")
    	}
    	if one16>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one16u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8<<N<<N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    	if one8u>>N>>N == 1 {
    		t.Errorf("shift overflow mishandled")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/internal/concurrent/hashtriemap.go

    		// Drop the head of the list.
    		return head.overflow.Load(), true
    	}
    	i := &head.overflow
    	e := i.Load()
    	for e != nil {
    		if keyEqual(unsafe.Pointer(&e.key), abi.NoEscape(unsafe.Pointer(&key))) &&
    			valEqual(unsafe.Pointer(&e.value), abi.NoEscape(unsafe.Pointer(&value))) {
    			i.Store(e.overflow.Load())
    			return head, true
    		}
    		i = &e.overflow
    		e = e.overflow.Load()
    	}
    	return head, false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top