Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for biglen (0.2 sec)

  1. src/io/ioutil/ioutil_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	filename := f.Name()
    	data := "Programming today is a race between software engineers striving to " +
    		"build bigger and better idiot-proof programs, and the Universe trying " +
    		"to produce bigger and better idiots. So far, the Universe is winning."
    
    	if err := WriteFile(filename, []byte(data), 0644); err != nil {
    		t.Fatalf("WriteFile %s: %v", filename, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/os/read_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    	defer Remove(f.Name())
    
    	msg := "Programming today is a race between software engineers striving to " +
    		"build bigger and better idiot-proof programs, and the Universe trying " +
    		"to produce bigger and better idiots. So far, the Universe is winning."
    
    	if err := WriteFile(f.Name(), []byte(msg), 0644); err != nil {
    		t.Fatalf("WriteFile %s: %v", f.Name(), err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/internal/sys/args.go

    //
    // Windows has a limit of 32 KB. To be conservative and not worry about whether
    // that includes spaces or not, just use 30 KB. Darwin's limit is less clear.
    // The OS claims 256KB, but we've seen failures with arglen as small as 50KB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 550 bytes
    - Viewed (0)
  4. src/go/types/const.go

    		check.representable(x, under(x.typ).(*Basic))
    		return
    	}
    
    	// Untyped integer values must not grow arbitrarily.
    	const prec = 512 // 512 is the constant precision
    	if x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec {
    		op := opName(x.expr)
    		if op != "" {
    			op += " "
    		}
    		check.errorf(atPos(opPos), InvalidConstVal, "constant %soverflow", op)
    		x.val = constant.MakeUnknown()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/internal/abi/map.go

    	MapBucketCount     = 1 << MapBucketCountBits
    
    	// Maximum key or elem size to keep inline (instead of mallocing per element).
    	// Must fit in a uint8.
    	// Note: fast map functions cannot handle big elems (bigger than MapMaxElemBytes).
    	MapMaxKeyBytes  = 128
    	MapMaxElemBytes = 128 // Must fit in a uint8.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 20:09:01 UTC 2024
    - 719 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/ip.go

    	return d.Addr
    }
    
    // Size returns the size of the IP address in bytes.
    // Used in the size estimation of the runtime cost.
    func (d IP) Size() ref.Val {
    	return types.Int(int(math.Ceil(float64(d.Addr.BitLen()) / 8)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:33 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/outbuf.go

    func (out *OutBuf) writeLoc(lenToWrite int64) (int64, []byte) {
    	// See if we have enough space in the mmaped area.
    	bufLen := int64(len(out.buf))
    	if out.off+lenToWrite <= bufLen {
    		return out.off, out.buf
    	}
    
    	// Not enough space in the mmaped area, write to heap area instead.
    	heapPos := out.off - bufLen
    	heapLen := int64(len(out.heap))
    	lenNeeded := heapPos + lenToWrite
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. src/reflect/makefunc.go

    	// makeFuncImpl contains a stack map for use by the runtime
    	_, _, abid := funcLayout(ftyp, nil)
    
    	impl := &makeFuncImpl{
    		makeFuncCtxt: makeFuncCtxt{
    			fn:      code,
    			stack:   abid.stackPtrs,
    			argLen:  abid.stackCallArgsSize,
    			regPtrs: abid.inRegPtrs,
    		},
    		ftyp: ftyp,
    		fn:   fn,
    	}
    
    	return Value{t, unsafe.Pointer(impl), flag(Func)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/global-dependencies.md

    &amp; 🌐 💭 📄 🔃 [❎ `dependencies` *➡ 🛠️ 👨‍🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} ✔, ✋️ 👉 💼, 🌐 *➡ 🛠️* 📱.
    
    ## 🔗 👪 *➡ 🛠️*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 828 bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_an_py39/main.py

        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
Back to top