- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 484 for smallptr (0.13 sec)
-
test/interface/bigdata.go
bad = true } } func ptrs() { var bigptr BigPtr = BigPtr{ 10000, 2000, 300, 45 } var smallptr SmallPtr = SmallPtr{ 12345 } var intptr IntPtr = 12345 // test("bigptr", bigptr) test("&bigptr", &bigptr) // test("smallptr", smallptr) test("&smallptr", &smallptr) // test("intptr", intptr) test("&intptr", &intptr) } type Big struct { a, b, c, d int64 } func (z Big) M() int64 { return z.a+z.b+z.c+z.d }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.4K bytes - Viewed (0) -
src/os/env_test.go
} func TestLookupEnv(t *testing.T) { const smallpox = "SMALLPOX" // No one has smallpox. value, ok := LookupEnv(smallpox) // Should not exist. if ok || value != "" { t.Fatalf("%s=%q", smallpox, value) } defer Unsetenv(smallpox) err := Setenv(smallpox, "virus") if err != nil { t.Fatalf("failed to release smallpox virus") } _, ok = LookupEnv(smallpox) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 04 15:31:54 UTC 2023 - 5K bytes - Viewed (0) -
test/escape.go
// different. var bad = false var allptr = make([]*int, 0, 100) func noalias(p, q *int, s string) { n := len(allptr) *p = -(n + 1) *q = -(n + 2) allptr = allptr[0 : n+2] allptr[n] = p allptr[n+1] = q n += 2 for i := 0; i < n; i++ { if allptr[i] != nil && *allptr[i] != -(i+1) { println("aliased pointers", -(i + 1), *allptr[i], "after", s) allptr[i] = nil bad = true } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 06 18:34:24 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc
// If the op is the pass-through op with (3x) smaller output, the dequantize // op can be pushed down to the single result of this op. if (!llvm::dyn_cast<mlir::SameScalesOpInterface>(passthrough_op) || passthrough_op->getNumResults() != 1) { return failure(); } // Only push down the dequantize op when the output is smaller, so that it // can have smaller memory usage. auto input_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
src/crypto/cipher/cipher_test.go
mustPanic(t, "crypto/cipher: output smaller than input", func() { mode.CryptBlocks(buf[:3], buf) }) mode = cipher.NewCBCEncrypter(block, buf) mustPanic(t, "crypto/cipher: input not full blocks", func() { mode.CryptBlocks(buf, buf[:3]) }) mustPanic(t, "crypto/cipher: output smaller than input", func() { mode.CryptBlocks(buf[:3], buf) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 21:42:23 UTC 2016 - 2.2K bytes - Viewed (0) -
src/math/hypot_386.s
FUCOMI F0, F1 // compare F0 to F1 JCC 2(PC) // jump if F0 >= F1 FXCHD F0, F1 // F0=|p| (larger), F1=|q| (smaller) FTST // compare F0 to 0 FSTSW AX ANDW $0x4000, AX JNE 10(PC) // jump if F0 = 0 FXCHD F0, F1 // F0=q (smaller), F1=p (larger) FDIVD F1, F0 // F0=q(=q/p), F1=p FMULD F0, F0 // F0=q*q, F1=p FLD1 // F0=1, F1=q*q, F2=p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 1.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
* if some elements are too small, they will be aggregated by smallElementAggregateFunction. * * @param list the list to split, must be ordered by size desc * @param toIntFunction the function used to map the element to its "size" * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 17 05:17:44 UTC 2022 - 4K bytes - Viewed (0) -
test/fixedbugs/issue9604.go
// license that can be found in the LICENSE file. package main var x uint16 = 0xffff var y uint16 = 0xfffe var a uint16 = 0x7000 var b uint16 = 0x9000 func main() { // Make sure we truncate to smaller-width types after evaluating expressions. // This is a problem for arm where there is no 16-bit comparison op. if ^x != 0 { panic("^uint16(0xffff) != 0") } if ^y != 1 { panic("^uint16(0xfffe) != 1") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 15 23:50:01 UTC 2015 - 631 bytes - Viewed (0) -
src/internal/trace/batchcursor_test.go
break } } checkHeap(t, heap) if heap[0].ev.time != -21 { t.Fatalf("heap update failed, expected %d as heap min: %s", -21, heapDebugString(heap)) } // Update the minimum element to be smaller. There should be no change. heap[0].ev.time = -22 heapUpdate(heap, 0) checkHeap(t, heap) if heap[0].ev.time != -22 { t.Fatalf("heap update failed, expected %d as heap min: %s", -22, heapDebugString(heap)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3K bytes - Viewed (0)