Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 300 for panics (0.04 seconds)

  1. internal/event/targetlist_test.go

    		panic(err)
    	}
    
    	targetListCase3 := NewTargetList(t.Context())
    	if err := targetListCase3.Add(&ExampleTarget{TargetID{"3", "testcase"}, false, false}); err != nil {
    		panic(err)
    	}
    	if err := targetListCase3.Add(&ExampleTarget{TargetID{"1", "webhook"}, false, false}); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		targetList     *TargetList
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. cmd/xl-storage-meta-inline.go

    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    		panic(fmt.Errorf("xlMetaInlineData.serialize: keys/value number mismatch"))
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. internal/lsync/lrwmutex_test.go

    	ctx := t.Context()
    	lrwm := NewLRWMutex()
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	if !lrwm.GetRLock(ctx, "", "object1", time.Second) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("2nd read lock acquired, waiting...")
    
    	go func() {
    		time.Sleep(2 * time.Second)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. doc/godebug.md

    The [GODEBUG History](#history) gives the exact defaults for each Go toolchain version.
    For example, Go 1.21 introduces the `panicnil` setting,
    controlling whether `panic(nil)` is allowed;
    it defaults to `panicnil=0`, making `panic(nil)` a run-time error.
    Using `panicnil=1` restores the behavior of Go 1.20 and earlier.
    
    When compiling a work module or workspace that declares
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     */
    
    import gradlebuild.basics.buildFinalRelease
    import gradlebuild.basics.buildMilestoneNumber
    import gradlebuild.basics.buildRcNumber
    import gradlebuild.basics.buildRunningOnCi
    import gradlebuild.basics.buildTimestamp
    import gradlebuild.basics.buildVersionQualifier
    import gradlebuild.basics.ignoreIncomingBuildReceipt
    import gradlebuild.basics.isPromotionBuild
    import gradlebuild.basics.releasedVersionsFile
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.21.md

    - Fix a bug that `--disabled-metrics` doesn't function well. (#106391, @Huang-Wei) [SIG API Machinery, Cluster Lifecycle and Instrumentation]
    - Fix a panic in kubectl when creating secrets with an improper output type (#106354, @lauchokyip) [SIG CLI]
    - Fix concurrent map access causing panics when logging timed-out API calls. (#106113, @marseel) [SIG API Machinery]
    - Fixed very rare volume corruption when a pod is deleted while kubelet is offline.
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  7. internal/logger/console.go

    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   FatalKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...any) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "FATAL"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.20.md

    ### Bug or Regression
    
    - EndpointSlice Mirroring controller now cleans up managed EndpointSlices when a Service selector is added (#106136, @robscott) [SIG Apps, Network and Testing]
    - Fix concurrent map access causing panics when logging timed-out API calls. (#106124, @marseel) [SIG API Machinery]
    - Support more than 100 disk mounts on Windows (#105673, @andyzhangx) [SIG Storage and Windows]
    
    ## Dependencies
    
    ### Added
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import gradlebuild.basics.BuildParams.BUILD_MILESTONE_NUMBER
    import gradlebuild.basics.BuildParams.BUILD_PROMOTION_COMMIT_ID
    import gradlebuild.basics.BuildParams.BUILD_RC_NUMBER
    import gradlebuild.basics.BuildParams.BUILD_TIMESTAMP
    import gradlebuild.basics.BuildParams.BUILD_VCS_NUMBER
    import gradlebuild.basics.BuildParams.BUILD_VERSION_QUALIFIER
    import gradlebuild.basics.BuildParams.BUNDLE_GROOVY_MAJOR
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  10. internal/bpool/bpool.go

    // byte arrays sized based on width.
    func NewBytePoolCap(maxSize uint64, width int, capwidth int) (bp *BytePoolCap) {
    	if capwidth <= 0 {
    		panic("total buffer capacity must be provided")
    	}
    	if capwidth < 64 {
    		panic("buffer capped with smaller than 64 bytes is not supported")
    	}
    	if width > capwidth {
    		panic("minimum buffer length cannot be > capacity of the buffer")
    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top