Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,075 for satconv (0.14 sec)

  1. test/fixedbugs/issue54220.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"strconv"
    	"sync/atomic"
    	"unsafe"
    )
    
    type t struct {
    	i1 atomic.Int32
    	i2 atomic.Int64
    }
    
    var v t
    
    func main() {
    	if o := unsafe.Offsetof(v.i2); o != 8 {
    		panic("unexpected offset, want: 8, got: " + strconv.Itoa(int(o)))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 14:12:01 UTC 2022
    - 420 bytes
    - Viewed (0)
  2. src/crypto/tls/common_string.go

    // Code generated by "stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go"; DO NOT EDIT.
    
    package tls
    
    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[PKCS1WithSHA256-1025]
    	_ = x[PKCS1WithSHA384-1281]
    	_ = x[PKCS1WithSHA512-1537]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue7690.go

    		return
    	}
    	m2 := re.FindStringSubmatch(string(buf2))
    	if m2 == nil {
    		println("BUG: cannot find main.main in second trace")
    		return
    	}
    
    	n1, _ := strconv.Atoi(m1[1])
    	n2, _ := strconv.Atoi(m2[1])
    	if n1+1 != n2 {
    		println("BUG: expect runtime.Stack on back to back lines, have", n1, n2)
    		println(string(buf1))
    		println(string(buf2))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/api_object_versioner.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package storage
    
    import (
    	"fmt"
    	"strconv"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    // APIObjectVersioner implements versioning and extracting etcd node information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 15:19:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. src/database/sql/convert.go

    		return strconv.FormatUint(rv.Uint(), 10)
    	case reflect.Float64:
    		return strconv.FormatFloat(rv.Float(), 'g', -1, 64)
    	case reflect.Float32:
    		return strconv.FormatFloat(rv.Float(), 'g', -1, 32)
    	case reflect.Bool:
    		return strconv.FormatBool(rv.Bool())
    	}
    	return fmt.Sprintf("%v", src)
    }
    
    func asBytes(buf []byte, rv reflect.Value) (b []byte, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. logger/sql.go

    			}
    		case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64:
    			vars[idx] = utils.ToString(v)
    		case float32:
    			vars[idx] = strconv.FormatFloat(float64(v), 'f', -1, 32)
    		case float64:
    			vars[idx] = strconv.FormatFloat(v, 'f', -1, 64)
    		case string:
    			vars[idx] = escaper + strings.ReplaceAll(v, escaper, escaper+escaper) + escaper
    		default:
    			rv := reflect.ValueOf(v)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/healthcheck-handler.go

    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.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[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_string.go

    // Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.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[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 02 19:29:16 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/request/received_time_test.go

    			}
    
    			receivedTimestampGot, ok := ReceivedTimestampFrom(ctx)
    			if test.expected != ok {
    				t.Errorf("ReceivedTimestampFrom: expected=%s got=%s", strconv.FormatBool(test.expected), strconv.FormatBool(ok))
    			}
    
    			if test.receivedTimestamp != receivedTimestampGot {
    				t.Errorf("ReceivedTimestampFrom: received timestamp expected=%s but got=%s", test.receivedTimestamp, receivedTimestampGot)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 21 13:59:26 UTC 2020
    - 1.7K bytes
    - Viewed (0)
Back to top