Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 648 for clip (0.16 sec)

  1. src/cmd/internal/moddeps/moddeps_test.go

    }
    
    // run runs the command and requires that it succeeds.
    func (r runner) run(t *testing.T, args ...string) {
    	t.Helper()
    	cmd := testenv.Command(t, args[0], args[1:]...)
    	cmd.Dir = r.Dir
    	cmd.Env = slices.Clip(r.Env)
    	if r.Dir != "" {
    		cmd.Env = append(cmd.Env, "PWD="+r.Dir)
    	}
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("> %s\n", strings.Join(args, " "))
    		t.Fatalf("command failed: %s\n%s", err, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/log/slog/logger_test.go

    	return &c2
    }
    
    func (c *captureHandler) WithGroup(name string) Handler {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var c2 captureHandler
    	c2.r = c.r
    	c2.attrs = c.attrs
    	c2.groups = append(slices.Clip(c.groups), name)
    	return &c2
    }
    
    func (c *captureHandler) clear() {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.ctx = nil
    	c.r = Record{}
    }
    
    type discardHandler struct {
    	disabled bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. src/image/jpeg/scan.go

    		case 3:
    			dst, stride = d.blackPix[8*(by*d.blackStride+bx):], d.blackStride
    		default:
    			return UnsupportedError("too many components")
    		}
    	}
    	// Level shift by +128, clip to [0, 255], and write to dst.
    	for y := 0; y < 8; y++ {
    		y8 := y * 8
    		yStride := y * stride
    		for x := 0; x < 8; x++ {
    			c := b[y8+x]
    			if c < -128 {
    				c = 0
    			} else if c > 127 {
    				c = 255
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/writebarrier.go

    				// writes to pointer-containing types will do this.
    				if d := off % ptrSize; d != 0 {
    					off -= d
    					size += d
    				}
    				if d := size % ptrSize; d != 0 {
    					size += ptrSize - d
    				}
    				// Clip to the 64 words that we track.
    				min := off
    				max := off + size
    				if min < 0 {
    					min = 0
    				}
    				if max > 64*ptrSize {
    					max = 64 * ptrSize
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg slices, func BinarySearchFunc[$0 interface{ ~[]$1 }, $1 interface{}, $2 interface{}]($0, $2, func($1, $2) int) (int, bool) #60091
    pkg slices, func Clip[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433
    pkg slices, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433
    pkg slices, func Compact[$0 interface{ ~[]$1 }, $1 comparable]($0) $0 #57433
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/css/base.css

        font-family: "Ubuntu Mono", courier, monospace;
        text-shadow: none;
    }
    
    .signature .literal {
        color: #04598D;
        padding-left: 0.1em;
    }
    
    .sr-only {
        border: 0;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    /*
     * Code highlighting
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    as `t`. The minimum value to clip by.}]>:$clip_value_min,
        Arg<TensorOf<[TF_Bfloat16, TF_Complex128, TF_Complex64, TF_Float16, TF_Float32, TF_Float64, TF_Int16, TF_Int32, TF_Int64, TF_Int8, TF_Qint16, TF_Qint32, TF_Qint8, TF_Quint16, TF_Quint8, TF_Uint16, TF_Uint32, TF_Uint64, TF_Uint8]>, [{A 0-D (scalar) `Tensor`, or a `Tensor` with the same shape
    as `x`. The maximum value to clip by.}]>:$clip_value_max
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. pkg/registry/core/service/storage/storage_test.go

    		t.Errorf("%s: expected clusterIP == clusterIPs[0]: %q != %q", callName(before, after), sing, plur)
    	}
    
    	for _, clip := range after.Spec.ClusterIPs {
    		if !ipIsAllocated(t, storage.alloc.serviceIPAllocatorsByFamily[familyOf(clip)], clip) {
    			t.Errorf("%s: expected clusterIP to be allocated: %q", callName(before, after), clip)
    		}
    	}
    
    	if lc, lf := len(after.Spec.ClusterIPs), len(after.Spec.IPFamilies); lc != lf {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/css/manual.css

    }
    
    .dlist dt code {
    	color: var(--text-color);
    	font-size: 1em;
    	font-weight: bold;
    }
    
    .dlist p {
    	margin-bottom: 0.625rem;
    }
    
    .sr-only {
    	border: 0;
    	clip: rect(0, 0, 0, 0);
    	height: 1px;
    	margin: -1px;
    	overflow: hidden;
    	padding: 0;
    	position: absolute;
    	width: 1px;
    }
    
    /* Layout */
    .main-content>.appendix,
    .main-content>.book,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/static/css/bootstrap-4.0.0.min.css

    ky;top:0;z-index:1020}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;-webkit-clip-path:none;clip-path:none}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.h-25{height:25%!important...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 141.5K bytes
    - Viewed (0)
Back to top