- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 722 for rounds (0.14 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/tsan14.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // This program failed when run under the C/C++ ThreadSanitizer. // // cgocallback on a new thread calls into runtime.needm -> _cgo_getstackbound // to update gp.stack.lo with the stack bounds. If the G itself is passed to // _cgo_getstackbound, then writes to the same G can be seen on multiple
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan4_fail.go
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* #include <stdlib.h> #include <stdio.h> void test(int* a) { // Access Go pointer out of bounds. a[3] = 300; // BOOM // We shouldn't get here; asan should stop us first. printf("a[3]=%d\n", a[3]); }*/ import "C" func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 496 bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeVisitor.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Based on what a {@link Type} is, dispatch it to the corresponding {@code visit*} method. By * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For * example, this can be used to reject wildcards or type variables contained in a type as in: *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 16 21:10:04 UTC 2021 - 3.7K bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_386.c
} extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); // minit queries stack bounds from the OS. /* * Set specific keys in thread local storage. */ asm volatile ( "movl %0, %%fs:0(%1)\n" // MOVL tls0, 0(tls_g)(FS) "movl %%fs:0(%1), %%eax\n" // MOVL 0(tls_g)(FS), tmp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:58 UTC 2023 - 1.1K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat.go
func (x *Nat) Equal(y *Nat) choice { // Eliminate bounds checks in the loop. size := len(x.limbs) xLimbs := x.limbs[:size] yLimbs := y.limbs[:size] equal := yes for i := 0; i < size; i++ { equal &= ctEq(xLimbs[i], yLimbs[i]) } return equal } // IsZero returns 1 if x == 0, and 0 otherwise. func (x *Nat) IsZero() choice { // Eliminate bounds checks in the loop. size := len(x.limbs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 24K bytes - Viewed (0) -
test/fixedbugs/bug102.go
// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { var b [0]byte s := string(b[0:]) // out of bounds trap if s != "" { panic("bad convert") } var b1 = [5]byte{'h', 'e', 'l', 'l', 'o'} if string(b1[0:]) != "hello" { panic("bad convert 1") } var b2 = make([]byte, 5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 525 bytes - Viewed (0) -
test/fixedbugs/issue17918.go
// compile // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 17918: slice out-of-bounds in ssa/cse package dead import ( "fmt" "time" ) var ( units = []struct { divisor time.Duration unit rune }{ {1000000, 's'}, {60, 'm'}, {60, 'h'}, {24, 'd'}, {7, 'w'}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 16:31:27 UTC 2016 - 619 bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KtEmptyAnnotationsList.kt
return Collections.emptyIterator() } override fun get(index: Int): KaAnnotation = withValidityAssertion { throw IndexOutOfBoundsException("Index $index out of bounds") } override fun contains(classId: ClassId): Boolean = withValidityAssertion { return false } override fun get(classId: ClassId): List<KaAnnotation> = withValidityAssertion {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue13365.go
_ = [...]int{-1: 0} // ERROR "index must be non\-negative integer constant|index expression is negative|must not be negative" _ = []int{100: 0} _ = [10]int{100: 0} // ERROR "index 100 out of bounds|out of range" _ = [...]int{100: 0} _ = []int{t} // ERROR "cannot use .* as (type )?int( in slice literal)?|incompatible type" _ = [10]int{t} // ERROR "cannot use .* as (type )?int( in array literal)?|incompatible type"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 17:21:15 UTC 2022 - 1K bytes - Viewed (0) -
src/image/gif/writer.go
return } b := pm.Bounds() if b.Min.X < 0 || b.Max.X >= 1<<16 || b.Min.Y < 0 || b.Max.Y >= 1<<16 { e.err = errors.New("gif: image block is too large to encode") return } if !b.In(image.Rectangle{Max: image.Point{e.g.Config.Width, e.g.Config.Height}}) { e.err = errors.New("gif: image block is out of bounds") return } transparentIndex := -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0)