Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Stderr (0.04 sec)

  1. src/cmd/cgo/gcc.go

    	if *debugGcc {
    		fmt.Fprintf(os.Stderr, "$ %s <<EOF\n", strings.Join(args, " "))
    		os.Stderr.Write(stdin)
    		fmt.Fprint(os.Stderr, "EOF\n")
    	}
    	stdout, stderr, ok := run(stdin, args)
    	if *debugGcc {
    		os.Stderr.Write(stdout)
    		os.Stderr.Write(stderr)
    	}
    	if !ok {
    		os.Stderr.Write(stderr)
    		os.Exit(2)
    	}
    	return string(stdout), string(stderr)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

         * @param workingDirectory working directory
         * @param stdout stdout
         * @param stderr stderr
         * @return return code
         */
        public int doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr) {
            PrintStream oldout = System.out;
            PrintStream olderr = System.err;
    
            final Set<String> realms;
            if (classWorld != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		case *rsa.PrivateKey:
    			return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
    		case *ecdsa.PrivateKey:
    			b, err := x509.MarshalECPrivateKey(k)
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "Unable to marshal ECDSA private key: %v", err)
    				os.Exit(2)
    			}
    			return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
    		default:
    			return nil
    		}
    	}
    
    	var priv interface{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    	readQuorum, writeQuorum, err := objectQuorumFromMeta(ctx, metaArr, errs, er.defaultParityCount)
    	if err != nil {
    		if shouldCheckForDangling(err, errs, srcBucket) {
    			_, derr := er.deleteIfDangling(context.Background(), srcBucket, srcObject, metaArr, errs, nil, srcOpts)
    			if derr == nil {
    				if srcOpts.VersionID != "" {
    					err = errFileVersionNotFound
    				} else {
    					err = errFileNotFound
    				}
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		}
    	}()
    	b.Read(make([]byte, 100))
    }
    
    var errFake = errors.New("fake error")
    
    type errorThenGoodReader struct {
    	didErr bool
    	nread  int
    }
    
    func (r *errorThenGoodReader) Read(p []byte) (int, error) {
    	r.nread++
    	if !r.didErr {
    		r.didErr = true
    		return 0, errFake
    	}
    	return len(p), nil
    }
    
    func TestReaderClearError(t *testing.T) {
    	r := &errorThenGoodReader{}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    					return
    				}
    				orgIndexes := origIndexMap[idx]
    				deletedObjects, errs := pool.DeleteObjects(ctx, bucket, objs, opts)
    				mu.Lock()
    				for i, derr := range errs {
    					if derr != nil {
    						derrs[orgIndexes[i]] = derr
    					}
    					deletedObjects[i].ObjectName = decodeDirObject(deletedObjects[i].ObjectName)
    					dobjects[orgIndexes[i]] = deletedObjects[i]
    				}
    				mu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top