Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for num1xx (0.51 sec)

  1. src/net/http/transport.go

    		}
    		is1xx := 100 <= resCode && resCode <= 199
    		// treat 101 as a terminal status, see issue 26161
    		is1xxNonTerminal := is1xx && resCode != StatusSwitchingProtocols
    		if is1xxNonTerminal {
    			num1xx++
    			if num1xx > max1xxResponses {
    				return nil, errors.New("net/http: too many 1xx informational responses")
    			}
    			pc.readLimit = pc.maxHeaderResponseSize() // reset the limit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	if statusCode >= 100 && statusCode <= 199 {
    		if f.StreamEnded() {
    			return nil, errors.New("1xx informational response with END_STREAM flag")
    		}
    		cs.num1xx++
    		const max1xxResponses = 5 // arbitrary bound on number of informational responses, same as net/http
    		if cs.num1xx > max1xxResponses {
    			return nil, errors.New("http2: too many 1xx informational responses")
    		}
    		if fn := cs.get1xxTraceFunc(); fn != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        if (attr.getSplatValue<Eigen::half>() != Eigen::half(0))
          output->Add(
              Eigen::numext::bit_cast<uint16_t>(attr.getSplatValue<Eigen::half>()));
      } else {
        output->Reserve(attr.getNumElements());
        for (const Eigen::half value : attr.getValues<Eigen::half>())
          output->AddAlreadyReserved(Eigen::numext::bit_cast<uint16_t>(value));
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    import org.gradle.api.tasks.TaskAction
    
    open class MyCustomTask : DefaultTask() {
        @TaskAction
        fun calculateSum() {
            // Custom logic to calculate the sum of two numbers
            val num1 = 5
            val num2 = 7
            val sum = num1 + num2
    
            // Print the result
            println("Sum: $sum")
        }
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .MyCustomTask.groovy
    [source, groovy]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

    Eigen::half APFloatToEigenHalf(const APFloat& val) {
      uint16_t raw_data = val.bitcastToAPInt().getZExtValue();
      return Eigen::numext::bit_cast<Eigen::half>(raw_data);
    }
    
    APFloat EigenHalfToAPFloat(const Eigen::half& val) {
      uint16_t raw_data = Eigen::numext::bit_cast<uint16_t>(val);
      return APFloat(APFloat::IEEEhalf(), APInt(16, raw_data));
    }
    
    void PopulateEncodingParams(const std::vector<int>& block_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    	unstructuredObj := gottenNoxuInstance.(*unstructured.Unstructured).Object
    	num := unstructuredObj["num"].(map[string]interface{})
    	num1 := num["num1"].(int64)
    	num2 := num["num2"].(int64)
    	if num1 != 9223372036854775807 || num2 != 1000000 {
    		t.Errorf("Expected %v, got %v, %v", `9223372036854775807, 1000000`, num1, num2)
    	}
    }
    
    func TestPatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

              uint16_t bit_repr = llvm::support::endian::readNext<
                  uint16_t, llvm::endianness::native, llvm::support::unaligned>(
                  data);
              values.push_back(Eigen::numext::bit_cast<Eigen::half>(bit_repr));
            }
    
            return mlir::ElementsAttr(
                DenseElementsAttr::get(shaped_type, ArrayRef<Eigen::half>(values)));
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"updating validating field num2 to another validating value, but rachet invalid field num1",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"nums": map[string]interface{}{
    							"num1": 1,
    							"num2": 2000,
    						},
    					}},
    				expectError{applyPatchOperation{
    					"update field num1 to different invalid value",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	labelX      []label
    }
    
    // label corresponds to Profile.Label
    type label struct {
    	keyX int64
    	// Exactly one of the two following values must be set
    	strX int64
    	numX int64 // Integer value for this label
    	// can be set if numX has value
    	unitX int64
    }
    
    // Mapping corresponds to Profile.Mapping
    type Mapping struct {
    	ID              uint64
    	Start           uint64
    	Limit           uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	}
    
    	// Parsing the numbers
    	num1, err := strconv.ParseUint(parts[2], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    	num2, err := strconv.ParseUint(parts[3], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    	return uint32(num1), uint32(num2), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top