Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 157 for Failure (0.15 sec)

  1. src/cmd/asm/internal/arch/arm64.go

    	switch op {
    	case arm64.ACASPD, arm64.ACASPW:
    		return true
    	}
    	return false
    }
    
    // ARM64Suffix handles the special suffix for the ARM64.
    // It returns a boolean to indicate success; failure means
    // cond was unrecognized.
    func ARM64Suffix(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/operand.go

    	}
    }
    
    // assignableTo reports whether x is assignable to a variable of type T. If the
    // result is false and a non-nil cause is provided, it may be set to a more
    // detailed explanation of the failure (result != ""). The returned error code
    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo is invoked through an exported API call, i.e., when all
    // methods have been type-checked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/cshared_test.go

    		argv = append(argv, "-ldflags", "-extldflags=-Wl,--export-all-symbols")
    	}
    	argv = append(argv, "-o", objfile, srcfile)
    	out, err := exec.Command("go", argv...).CombinedOutput()
    	if err != nil {
    		t.Fatalf("build failure: %s\n%s\n", err, string(out))
    	}
    
    	f, err := pe.Open(objfile)
    	if err != nil {
    		t.Fatalf("pe.Open failed: %v", err)
    	}
    	defer f.Close()
    	section := f.Section(".edata")
    	if section == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. src/text/template/parse/parse_test.go

    		}
    	}
    }
    
    func TestErrorContextWithTreeCopy(t *testing.T) {
    	tree, err := New("root").Parse("{{if true}}{{end}}", "", "", make(map[string]*Tree), nil)
    	if err != nil {
    		t.Fatalf("unexpected tree parse failure: %v", err)
    	}
    	treeCopy := tree.Copy()
    	wantLocation, wantContext := tree.ErrorContext(tree.Root.Nodes[0])
    	gotLocation, gotContext := treeCopy.ErrorContext(treeCopy.Root.Nodes[0])
    	if wantLocation != gotLocation {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/syscall/exec_linux_test.go

    				if testenv.SyscallIsNotSupported(err) {
    					// May be inside a container that disallows CLONE_NEWUSER.
    					t.Skipf("skipping: CLONE_NEWUSER appears to be unsupported")
    				}
    				t.Fatalf("unexpected command failure; output:\n%s", out)
    			}
    
    			sout := strings.TrimSpace(string(out))
    			want := "root"
    			if sout != want {
    				t.Fatalf("whoami = %q; want %q", out, want)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/shell.go

    var cgoTypeSigRe = lazyregexp.New(`\b_C2?(type|func|var|macro)_\B`)
    
    // run runs the command given by cmdline in the directory dir.
    // If the command fails, run prints information about the failure
    // and returns a non-nil error.
    func (sh *Shell) run(dir string, desc string, env []string, cmdargs ...any) error {
    	out, err := sh.runOut(dir, env, cmdargs...)
    	if desc == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/crypto/ecdsa/ecdsa.go

    //
    // Signatures generated by this package are not deterministic, but entropy is
    // mixed with the private key and the message, achieving the same level of
    // security in case of randomness source failure.
    //
    // Operations involving private keys are implemented using constant-time
    // algorithms, as long as an [elliptic.Curve] returned by [elliptic.P224],
    // [elliptic.P256], [elliptic.P384], or [elliptic.P521] is used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go

    	{14, "SIGALRM", "alarm clock"},
    	{15, "SIGTERM", "terminated"},
    	{16, "SIGUSR1", "user defined signal 1"},
    	{17, "SIGUSR2", "user defined signal 2"},
    	{18, "SIGCHLD", "child exited"},
    	{19, "SIGPWR", "power failure"},
    	{20, "SIGWINCH", "window changed"},
    	{21, "SIGURG", "urgent I/O condition"},
    	{22, "SIGIO", "I/O possible"},
    	{23, "SIGSTOP", "stopped (signal)"},
    	{24, "SIGTSTP", "stopped"},
    	{25, "SIGCONT", "continued"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. src/runtime/crash_cgo_test.go

    	if runtime.GOOS == "plan9" {
    		t.Skipf("no pthreads on %s", runtime.GOOS)
    	}
    	got := runTestProg(t, "testprogcgo", "CgoExternalThreadPanic")
    	want := "panic: BOOM"
    	if !strings.Contains(got, want) {
    		t.Fatalf("want failure containing %q. output:\n%s\n", want, got)
    	}
    }
    
    func TestCgoExternalThreadSIGPROF(t *testing.T) {
    	t.Parallel()
    	// issue 9456.
    	switch runtime.GOOS {
    	case "plan9", "windows":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. src/net/ip_test.go

    			if e.Err != tt.err {
    				t.Errorf("SplitHostPort(%q) = _, _, %q; want %q", tt.hostPort, e.Err, tt.err)
    			}
    			if host != "" || port != "" {
    				t.Errorf("SplitHostPort(%q) = %q, %q, err; want %q, %q, err on failure", tt.hostPort, host, port, "", "")
    			}
    		}
    	}
    }
    
    func TestJoinHostPort(t *testing.T) {
    	for _, tt := range []struct {
    		host     string
    		port     string
    		hostPort string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top