Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for setLinger (0.29 sec)

  1. src/cmd/compile/internal/syntax/operator_string.go

    // Code generated by "stringer -type Operator -linecomment tokens.go"; DO NOT EDIT.
    
    package syntax
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Def-1]
    	_ = x[Not-2]
    	_ = x[Recv-3]
    	_ = x[Tilde-4]
    	_ = x[OrOr-5]
    	_ = x[AndAnd-6]
    	_ = x[Eql-7]
    	_ = x[Neq-8]
    	_ = x[Lss-9]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 07 05:19:41 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue17318.go

    }
    
    //go:noinline
    func foo(ops closure, j int) (err fmt.Stringer) { // ERROR "ops does not escape"
    	enqueue := func(i int) fmt.Stringer { // ERROR "func literal does not escape"
    		return ops(i, j) // ERROR "ops\(i, j\) escapes to heap$"
    	}
    	err = enqueue(4)
    	if err != nil {
    		return err
    	}
    	return // return result of enqueue, a fmt.Stringer
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 16 15:30:51 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. test/typeparam/stringerimp.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Stringer interface {
    	String() string
    }
    
    func Stringify[T Stringer](s []T) (ret []string) {
    	for _, v := range s {
    		ret = append(ret, v.String())
    	}
    	return ret
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 03:41:18 UTC 2021
    - 340 bytes
    - Viewed (0)
  4. cmd/storagemetric_string.go

    // Code generated by "stringer -type=storageMetric -trimprefix=storageMetric xl-storage-disk-id-check.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 01 20:10:54 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. src/html/template/context.go

    // HTML attribute produced by
    //
    //	<div title="Hello {{.World}}">
    //
    // is a single token in HTML's grammar but in a template spans several nodes.
    type state uint8
    
    //go:generate stringer -type state
    
    const (
    	// stateText is parsed character data. An HTML parser is in
    	// this state when its parse position is outside an HTML tag,
    	// directive, comment, and special element body.
    	stateText state = iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/html/template/urlpart_string.go

    // Code generated by "stringer -type urlPart"; DO NOT EDIT.
    
    package template
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[urlPartNone-0]
    	_ = x[urlPartPreQuery-1]
    	_ = x[urlPartQueryOrFrag-2]
    	_ = x[urlPartUnknown-3]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 720 bytes
    - Viewed (0)
  7. src/html/template/attr_string.go

    // Code generated by "stringer -type attr"; DO NOT EDIT.
    
    package template
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[attrNone-0]
    	_ = x[attrScript-1]
    	_ = x[attrScriptType-2]
    	_ = x[attrStyle-3]
    	_ = x[attrURL-4]
    	_ = x[attrSrcset-5]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 719 bytes
    - Viewed (0)
  8. src/math/big/roundingmode_string.go

    // Code generated by "stringer -type=RoundingMode"; DO NOT EDIT.
    
    package big
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ToNearestEven-0]
    	_ = x[ToNearestAway-1]
    	_ = x[ToZero-2]
    	_ = x[AwayFromZero-3]
    	_ = x[ToNegativeInf-4]
    	_ = x[ToPositiveInf-5]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 819 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/abi_string.go

    // Code generated by "stringer -type ABI"; DO NOT EDIT.
    
    package obj
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ABI0-0]
    	_ = x[ABIInternal-1]
    	_ = x[ABICount-2]
    }
    
    const _ABI_name = "ABI0ABIInternalABICount"
    
    var _ABI_index = [...]uint8{0, 4, 15, 23}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 589 bytes
    - Viewed (0)
  10. test/interface/convert.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test all the different interface conversion runtime functions.
    
    package main
    
    type Stringer interface {
    	String() string
    }
    type StringLengther interface {
    	String() string
    	Length() int
    }
    type Empty interface{}
    
    type T string
    
    func (t T) String() string {
    	return string(t)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.9K bytes
    - Viewed (0)
Back to top