Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,884 for incorrectly (0.23 sec)

  1. test/fixedbugs/issue26153.go

    // license that can be found in the LICENSE file.
    
    // Issue 26153. The write to ps was incorrectly
    // removed by the dead auto elimination pass.
    
    package main
    
    const hello = "hello world"
    
    func main() {
    	var s string
    	mangle(&s)
    	if s != hello {
    		panic("write incorrectly elided")
    	}
    }
    
    //go:noinline
    func mangle(ps *string) {
    	if ps == nil {
    		var s string
    		ps = &s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 02 19:43:07 UTC 2018
    - 504 bytes
    - Viewed (0)
  2. pkg/volume/metrics_block_linux_test.go

    	actual, err = metrics.GetMetrics()
    	if !volumetest.MetricsEqualIgnoreTimestamp(actual, expected) {
    		t.Errorf("Expected empty Metrics from incorrectly initialized MetricsBlock, actual %v", *actual)
    	}
    	if err == nil {
    		t.Errorf("Expected error when calling GetMetrics on incorrectly initialized MetricsBlock, actual nil")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 18 09:43:07 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. pkg/volume/metrics_statfs_test.go

    	actual, err = metrics.GetMetrics()
    	if !volumetest.MetricsEqualIgnoreTimestamp(actual, expected) {
    		t.Errorf("Expected empty Metrics from incorrectly initialized MetricsStatFS, actual %v", *actual)
    	}
    	if err == nil {
    		t.Errorf("Expected error when calling GetMetrics on incorrectly initialized MetricsStatFS, actual nil")
    	}
    
    	tmpDir, err := utiltesting.MkTmpdir("metric_statfs_test")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 23:01:59 UTC 2017
    - 2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue10332.go

    // The PkgPath of unexported fields of types defined in package main was incorrectly ""
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    )
    
    type foo struct {
    	bar int
    }
    
    func main() {
    	pkgpath := reflect.ValueOf(foo{}).Type().Field(0).PkgPath
    	if pkgpath != "main" {
    		fmt.Printf("BUG: incorrect PkgPath: %v", pkgpath)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 485 bytes
    - Viewed (0)
  5. releasenotes/notes/51377.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    
    issue:
      - 51377
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 201 bytes
    - Viewed (0)
  6. releasenotes/notes/50700.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - 50700
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 26 16:51:17 UTC 2024
    - 217 bytes
    - Viewed (0)
  7. releasenotes/notes/48017.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    issue:
    - 47964
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 02:55:12 UTC 2023
    - 230 bytes
    - Viewed (0)
  8. test/fixedbugs/issue52870.go

    // compile
    
    // Copyright 2022 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.
    
    // Issue 52870: gofrontend gave incorrect error when incorrectly
    // compiling ambiguous promoted method.
    
    package p
    
    type S1 struct {
    	*S2
    }
    
    type S2 struct {
    	T3
    	T4
    }
    
    type T3 int32
    
    func (T3) M() {}
    
    type T4 int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 16 01:03:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  9. test/interface/receiver.go

    	if _, ok := i.(P); ok {
    		println("dynamic i.(P) succeeded incorrectly")
    		panic("fail")
    	}
    
    	//	println("--struct--");
    	var s S
    	s.T = 42
    	s.P()
    	s.V()
    
    	v = s
    	s.V()
    
    	p = &s
    	p.P()
    	p.V()
    
    	v = &s
    	v.V()
    
    	//	p = s	// ERROR
    	var j interface{} = s
    	if _, ok := j.(P); ok {
    		println("dynamic j.(P) succeeded incorrectly")
    		panic("fail")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope_test.go

    			if err != nil {
    				t.Fatalf("could not decrypt Envelope transformer's encrypted data even once: %v", err)
    			}
    			if !bytes.Equal(untransformedData, originalText) {
    				t.Fatalf("envelopeTransformer transformed data incorrectly. Expected: %v, got %v", originalText, untransformedData)
    			}
    
    			envelopeService.SetDisabledStatus(tt.simulateKMSPluginFailure)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 14:23:50 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top