Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for Clip (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/path/filepath/path_test.go

    		var extra []string
    		for _, path := range absTests {
    			if strings.Contains(path, "$") {
    				continue
    			}
    			path = vol + path
    			extra = append(extra, path)
    		}
    		tests = append(slices.Clip(tests), extra...)
    	}
    
    	err = os.Chdir(absTestDirs[0])
    	if err != nil {
    		t.Fatal("chdir failed: ", err)
    	}
    
    	for _, path := range tests {
    		path = strings.ReplaceAll(path, "$", root)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/buildlist.go

    // The caller must not modify the returned list, but may safely append to it
    // and may rely on it not to be modified.
    func (mg *ModuleGraph) BuildList() []module.Version {
    	mg.buildListOnce.Do(func() {
    		mg.buildList = slices.Clip(mg.g.BuildList())
    	})
    	return mg.buildList
    }
    
    func (mg *ModuleGraph) findError() error {
    	errStack := mg.g.FindPath(func(m module.Version) bool {
    		_, err := mg.loadCache.Get(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    }
    
    def TF_InvertOp : TF_Op<"Invert", [Pure, TF_Involution, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = [{
    Invert (flip) each bit of supported types; for example, type `uint8` value 01010101 becomes 10101010.
      }];
    
      let description = [{
    Flip each bit of supported types.  For example, type `int8` (decimal 2) binary 00000010 becomes (decimal -3) binary 11111101.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/init.go

    		}
    	}
    	modRootContainingCWD := findModuleRoot(base.Cwd())
    	mainModules := &MainModuleSet{
    		versions:        slices.Clip(ms),
    		inGorootSrc:     map[module.Version]bool{},
    		pathPrefix:      map[module.Version]string{},
    		modRoot:         map[module.Version]string{},
    		modFiles:        map[module.Version]*modfile.File{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top