Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for num1xx (0.12 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. src/internal/xcoff/file.go

    			}
    		}
    
    		// Read csect auxiliary entry (by convention, it is the last).
    		if !needAuxFcn {
    			if _, err := sr.Seek(int64(numaux-1)*SYMESZ, io.SeekCurrent); err != nil {
    				return nil, err
    			}
    		}
    		i += numaux
    		numaux = 0
    		switch f.TargetMachine {
    		case U802TOCMAGIC:
    			aux := new(AuxCSect32)
    			if err := binary.Read(sr, binary.BigEndian, aux); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/kernels/histogram_summary_op.cc

        const double double_val = static_cast<double>(values_array[i]);
        if (Eigen::numext::isnan(double_val)) {
          std::ostringstream err;
          err << "Nan in summary histogram for: " << k->op_node_name;
          TF_SetStatus(status.get(), TF_INVALID_ARGUMENT, err.str().c_str());
          TF_OpKernelContext_Failure(ctx, status.get());
          return;
        } else if (Eigen::numext::isinf(double_val)) {
          std::ostringstream err;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadpe/ldpe.go

    			rel.SetSiz(rSize)
    			rel.SetSym(rSym)
    			rel.SetAdd(rAdd)
    
    		}
    
    		sb.SortRelocs()
    	}
    
    	// enter sub-symbols into symbol table.
    	for i, numaux := 0, 0; i < len(f.COFFSymbols); i += numaux + 1 {
    		pesym := &f.COFFSymbols[i]
    
    		numaux = int(pesym.NumberOfAuxSymbols)
    
    		name, err := pesym.FullName(f.StringTable)
    		if err != nil {
    			return nil, err
    		}
    		if name == "" {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/internal/profile/encode.go

    		}
    		sort.Strings(numKeys)
    		for _, k := range numKeys {
    			vs := s.NumLabel[k]
    			for _, v := range vs {
    				s.labelX = append(s.labelX,
    					Label{
    						keyX: addString(strings, k),
    						numX: v,
    					},
    				)
    			}
    		}
    		s.locationIDX = nil
    		for _, l := range s.Location {
    			s.locationIDX = append(s.locationIDX, l.ID)
    		}
    	}
    
    	for _, m := range p.Mapping {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. 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)
Back to top