- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 320 for panics (1.3 sec)
-
cmd/dummy-data-generator_test.go
// // f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50)) func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker { if totalLength < 0 { panic("Negative length passed to DummyDataGen!") } if skipOffset < 0 { panic("Negative rotations are not allowed") } skipOffset %= int64(len(alphabets)) const multiply = 100 as := bytes.Repeat(alphabets, multiply)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
success := lm.unlock(isWriteLock) if !success { panic("Trying to Unlock() while no Lock() is active") } } // RUnlock releases a read lock held on lm. // // It is a run-time error if lm is not locked on entry to RUnlock. func (lm *LRWMutex) RUnlock() { isWriteLock := false success := lm.unlock(isWriteLock) if !success { panic("Trying to RUnlock() while no RLock() is active") } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
.idea/scopes/Gradle_public_API.xml
<component name="DependencyValidationManager"> <!-- The source of truth for this pattern is `build-logic/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt` file, please keep them in sync --> <scope name="Gradle public API"
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 18 15:08:47 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.basics.util import gradlebuild.basics.kotlindsl.configureKotlinCompilerForGradleBuild import org.gradle.internal.jvm.Jvm import org.jetbrains.kotlin.cli.common.config.addKotlinSourceRoots
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 16 08:22:33 UTC 2025 - 3.9K bytes - Viewed (0) -
internal/grid/muxserver.go
if debugPrint { fmt.Println("Mux", m.ID, "Handler took", time.Since(start).Round(time.Millisecond)) } if r := recover(); r != nil { gridLogIf(ctx, fmt.Errorf("grid handler (%v) panic: %v", msg.Handler, r)) err := RemoteErr(fmt.Sprintf("handler panic: %v", r)) handlerErr = &err } if debugPrint { fmt.Println("muxServer: Mux", m.ID, "Returned with", handlerErr) } }()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 9.7K bytes - Viewed (0) -
lib/fips140/v1.0.0-c2097c7c.zip
written to dst. // // If dst does not have length at least n, // XORBytes panics without writing anything to dst. // // dst and x or y may overlap exactly or not at all, // otherwise XORBytes may panic. func XORBytes(dst, x, y []byte) int { n := min(len(x), len(y)) if n == 0 { return 0 } if n > len(dst) { panic("subtle.XORBytes: dst too short") } if alias.InexactOverlap(dst[:n], x[:n]) || alias.InexactOverlap(dst[:n], y[:n]) { panic("subtle.XORBytes: invalid overlap") } xorBytes(&dst[0], &x[0], &y[0],...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
internal/kms/dek_test.go
t.Fatalf("Test %d: ciphertext mismatch: got %x - want %x", i, key.Ciphertext, test.Key.Ciphertext) } } } func mustDecodeB64(s string) []byte { b, err := base64.StdEncoding.DecodeString(s) if err != nil { panic(err) } return b
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/s3select/jstream/scanner_test.go
br := bufio.NewReader(bytes.NewReader(b)) loop: for { _, err := br.ReadByte() switch err { case nil: continue loop case io.EOF: break loop default: panic(err) } } } func BenchmarkScanner(b *testing.B) { b.Run("small", func(b *testing.B) { for b.Loop() { benchmarkScanner(smallInput) } }) b.Run("medium", func(b *testing.B) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K bytes - Viewed (0) -
internal/once/singleton.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
written to dst. // // If dst does not have length at least n, // XORBytes panics without writing anything to dst. // // dst and x or y may overlap exactly or not at all, // otherwise XORBytes may panic. func XORBytes(dst, x, y []byte) int { n := min(len(x), len(y)) if n == 0 { return 0 } if n > len(dst) { panic("subtle.XORBytes: dst too short") } if alias.InexactOverlap(dst[:n], x[:n]) || alias.InexactOverlap(dst[:n], y[:n]) { panic("subtle.XORBytes: invalid overlap") } xorBytes(&dst[0], &x[0], &y[0],...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)