Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 706 for light (0.44 sec)

  1. src/runtime/mstats.go

    	stats.PauseEnd = memstats.pause_end
    	stats.NumGC = memstats.numgc
    	stats.NumForcedGC = memstats.numforcedgc
    	stats.GCCPUFraction = memstats.gc_cpu_fraction
    	stats.EnableGC = true
    
    	// stats.BySize and bySize might not match in length.
    	// That's OK, stats.BySize cannot change due to backwards
    	// compatibility issues. copy will copy the minimum amount
    	// of values between the two of them.
    	copy(stats.BySize[:], bySize[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. src/sort/zsortinterface.go

    				}
    				data.Swap(j, j-1)
    			}
    		}
    		// Shift the greater one to the right.
    		if b-i >= 2 {
    			for j := i + 1; j < b; j++ {
    				if !data.Less(j, j-1) {
    					break
    				}
    				data.Swap(j, j-1)
    			}
    		}
    	}
    	return false
    }
    
    // breakPatterns scatters some elements around in an attempt to break some patterns
    // that might cause imbalanced partitions in quicksort.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  3. pkg/apis/batch/types.go

    // +enum
    type PodFailurePolicyAction string
    
    const (
    	// This is an action which might be taken on a pod failure - mark the
    	// pod's job as Failed and terminate all running pods.
    	PodFailurePolicyActionFailJob PodFailurePolicyAction = "FailJob"
    
    	// This is an action which might be taken on a pod failure - mark the
    	// Job's index as failed to avoid restarts within this index. This action
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one.go

    		//
    		// Avoid moving the assumed Pod itself as it's always Unschedulable.
    		// It's intentional to "defer" this operation; otherwise MoveAllToActiveOrBackoffQueue() would
    		// add this event to in-flight events and thus move the assumed pod to backoffQ anyways if the plugins don't have appropriate QueueingHint.
    		if status.IsRejected() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  5. src/runtime/heapdump.go

    	// need to worry about anyone shrinking and therefore moving
    	// our stack.
    	var m MemStats
    	systemstack(func() {
    		// Call readmemstats_m here instead of deeper in
    		// writeheapdump_m because we might blow the system stack
    		// otherwise.
    		readmemstats_m(&m)
    		writeheapdump_m(fd, &m)
    	})
    
    	startTheWorld(stw)
    }
    
    const (
    	fieldKindEol       = 0
    	fieldKindPtr       = 1
    	fieldKindIface     = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/copycerts/copycerts.go

    	if err != nil {
    		if apierrors.IsNotFound(err) {
    			return nil, errors.Errorf("Secret %q was not found in the %q Namespace. This Secret might have expired. Please, run `kubeadm init phase upload-certs --upload-certs` on a control plane to generate a new one", kubeadmconstants.KubeadmCertsSecret, metav1.NamespaceSystem)
    		}
    		return nil, err
    	}
    	return secret, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  7. src/cmd/internal/src/pos.go

    // lico
    
    // A lico is a compact encoding of a LIne and COlumn number.
    type lico uint32
    
    // Layout constants: 20 bits for line, 8 bits for column, 2 for isStmt, 2 for pro/epilogue
    // (If this is too tight, we can either make lico 64b wide,
    // or we can introduce a tiered encoding where we remove column
    // information as line numbers grow bigger; similar to what gcc
    // does.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/download.go

    					}
    				}
    			}
    		} else if modload.WorkFilePath() != "" {
    			// TODO(#44435): Think about what the correct query is to download the
    			// right set of modules. Also see code review comment at
    			// https://go-review.googlesource.com/c/go/+/359794/comments/ce946a80_6cf53992.
    			args = []string{"all"}
    		} else {
    			mainModule := modload.MainModules.Versions()[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/term/terminal.go

    		down = y - t.cursorY
    	}
    
    	left := 0
    	if x < t.cursorX {
    		left = t.cursorX - x
    	}
    
    	right := 0
    	if x > t.cursorX {
    		right = x - t.cursorX
    	}
    
    	t.cursorX = x
    	t.cursorY = y
    	t.move(up, down, left, right)
    }
    
    func (t *Terminal) move(up, down, left, right int) {
    	m := []rune{}
    
    	// 1 unit up can be expressed as ^[[A or ^[A
    	// 5 units up can be expressed as ^[[5A
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  10. src/image/image.go

    	Bounds() Rectangle
    	// At returns the color of the pixel at (x, y).
    	// At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid.
    	// At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.
    	At(x, y int) color.Color
    }
    
    // RGBA64Image is an [Image] whose pixels can be converted directly to a
    // color.RGBA64.
    type RGBA64Image interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
Back to top