Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 221 for Boundary (0.93 sec)

  1. src/net/http/fs.go

    		sendSize = rangesMIMESize(ranges, ctype, size)
    		code = StatusPartialContent
    
    		pr, pw := io.Pipe()
    		mw := multipart.NewWriter(pw)
    		w.Header().Set("Content-Type", "multipart/byteranges; boundary="+mw.Boundary())
    		sendContent = pr
    		defer pr.Close() // cause writing goroutine to fail and exit if CopyN doesn't finish.
    		go func() {
    			for _, ra := range ranges {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

      return CreateOpKernel(DeviceType(device_name), nullptr, nullptr, def, 1,
                            status);
    }
    
    // Tests registration of a single C kernel and checks that calls through the
    // C/C++ boundary are being made.
    TEST(TestKernel, TestRegisterKernelBuilder) {
      const char* node_name = "SomeNodeName";
      const char* op_name = "FooOp";
      const char* device_name = "FakeDeviceName1";
    
      REGISTER_OP(op_name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/pcln.go

    			continue
    		}
    
    		// If the pc of the next instruction is the same as the
    		// pc of this instruction, this instruction is not a real
    		// instruction. Keep going, so that we only emit a delta
    		// for a true instruction boundary in the program.
    		if p.Link != nil && p.Link.Pc == p.Pc {
    			val = valfunc(ctxt, func_, val, p, 1, arg)
    			if dbg {
    				ctxt.Logf("%6x %6s %v\n", uint64(p.Pc), "", p)
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteCond_test.go

    }
    
    var crBenches = []struct {
    	name string
    	bf   func(b *testing.B)
    }{
    	{"SoloJump", benchSoloJump},
    	{"CombJump", benchCombJump},
    }
    
    // Test int32/int64's add/sub/madd/msub operations with boundary values to
    // ensure the optimization to 'comparing to zero' expressions of if-statements
    // yield expected results.
    // 32 rewriting rules are covered. At least two scenarios for "Canonicalize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 01:19:09 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    			return groups[i].Priority >= priority
    		})
    
    		// 1. Those higher than the highest priority default to the highest priority
    		// 2. Those lower than the lowest priority default to the lowest priority
    		// 3. Those boundary priority default to the lower priority
    		// if priority of pod is:
    		//   groups[index-1].Priority <= pod priority < groups[index].Priority
    		// in which case we want to pick lower one (i.e index-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go

    	}
    	return tag, tagOptions("")
    }
    
    // Contains reports whether a comma-separated list of options
    // contains a particular substr flag. substr must be surrounded by a
    // string boundary or commas.
    func (o tagOptions) Contains(optionName string) bool {
    	if len(o) == 0 {
    		return false
    	}
    	s := string(o)
    	for s != "" {
    		var next string
    		i := strings.Index(s, ",")
    		if i >= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 13.1K bytes
    - Viewed (0)
  7. src/compress/bzip2/bzip2.go

    			if br.err != nil {
    				return 0, br.err
    			}
    			if bz2.fileCRC != wantFileCRC {
    				br.err = StructuralError("file checksum mismatch")
    				return 0, br.err
    			}
    
    			// Skip ahead to byte boundary.
    			// Is there a file concatenated to this one?
    			// It would start with BZ.
    			if br.bits%8 != 0 {
    				br.ReadBits(br.bits % 8)
    			}
    			b, err := br.r.ReadByte()
    			if err == io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    				continue
    			}
    			if params["boundary"] == "" {
    				t.Errorf("range=%q content-type = %q; lacks boundary", rt.r, ct)
    				continue
    			}
    			if g, w := resp.ContentLength, int64(len(body)); g != w {
    				t.Errorf("range=%q Content-Length = %d; want %d", rt.r, g, w)
    				continue
    			}
    			mr := multipart.NewReader(bytes.NewReader(body), params["boundary"])
    			for ri, rng := range rt.ranges {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    	// The minimum size is bound by writeHeapBitsSmall, which assumes that the
    	// pointer bitmap for objects of a size smaller than this doesn't cross
    	// more than one pointer-word boundary. This sets an upper-bound on this
    	// value at the number of bits in a uintptr, multiplied by the pointer
    	// size in bytes.
    	//
    	// We choose a value here that has a natural cutover point in terms of memory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/BigIntegerMath.java

        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
        int nextPowerOfTwo = 1 << (bits - 1);
    
        // Iteratively multiply the longs as big as they can go.
        for (long num = startingNumber; num <= n; num++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top