Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for num1xx (0.19 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/go/printer/testdata/alignment.golden

    func main() {
    	z := MyStruct{
    		Foo:		"foo",
    		Bar:		"bar",
    		Name:		"name",
    		LongName:	"longname",
    		Baz:		"baz",
    	}
    	y := MyStruct{
    		Foo:			"foo",
    		Bar:			"bar",
    		NameXX:			"name",
    		LongNameXXXXXXXXXXXXX:	"longname",
    		Baz:			"baz",
    	}
    	z := MyStruct{
    		Foo:			"foo",
    		Bar:			"bar",
    		Name:			"name",
    		LongNameXXXXXXXXXXXXX:	"longname",
    		Baz:			"baz",
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  7. src/go/printer/testdata/alignment.input

            Bar:      "bar",
            Name:     "name",
            LongName: "longname",
            Baz:      "baz",
        }
        y := MyStruct{
            Foo:                   "foo",
            Bar:                   "bar",
            NameXX:                "name",
            LongNameXXXXXXXXXXXXX: "longname",
            Baz: "baz",
        }
        z := MyStruct{
            Foo:  "foo",
            Bar:  "bar",
            Name: "name",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 14 20:40:15 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    			"key": "value",
    		}
    		u.Object["num"] = map[string]interface{}{
    			"num1": int64(1),
    			"num2": int64(1000000),
    		}
    	case "v1beta1":
    		u.Object["content"] = map[string]interface{}{
    			"key": "value",
    		}
    		u.Object["num"] = map[string]interface{}{
    			"num1": int64(1),
    			"num2": int64(1000000),
    		}
    	case "v1beta2":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
Back to top