Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeError (0.1 sec)

  1. src/internal/zstd/literals.go

    	// The maximum size of one decompressed block is 128K,
    	// so we can't have more literals than that.
    	if regeneratedSize > 128<<10 {
    		return 0, nil, r.makeError(off, "literal size too large")
    	}
    
    	if raw {
    		// RFC 3.1.1.3.1.2.
    		if off+regeneratedSize > len(data) {
    			return 0, nil, r.makeError(off, "raw literal size too large")
    		}
    		outbuf = append(outbuf, data[off:off+regeneratedSize]...)
    		off += regeneratedSize
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 14:30:10 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. operator/pkg/validate/validate_values_test.go

    			yamlStr: `
    global:
      proxy:
        includeIPRanges: "*,1.1.0.0/16,2.2.0.0/16"
    `,
    			wantErrs: makeErrors([]string{`global.proxy.includeIPRanges netip.ParsePrefix("*"): no '/'`}),
    		},
    		{
    			desc: "BadPortRange",
    			yamlStr: `
    global:
      proxy:
        excludeInboundPorts: "-1,444"
    `,
    			wantErrs: makeErrors([]string{`value global.proxy.excludeInboundPorts:-1 falls outside range [0, 65535]`}),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      CHECK(status.ok()) << "Failed to setup request context: " << status.message();
    
      auto req_ctx = std::move(builder).build();
      if (auto err = req_ctx.takeError())
        LOG(FATAL) << "Failed to build a request context";
    
      exec_ctx_ = std::make_unique<tfrt::ExecutionContext>(std::move(*req_ctx));
    }
    
    void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top