Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for rc (0.2 sec)

  1. src/clean.rc

    #!/bin/rc -e
    # Copyright 2012 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.
    
    eval `{go tool dist env -9}
    
    if(! test -x $GOTOOLDIR/dist){
    	echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2]
    	exit noclean
    }
    
    $GOBIN/go clean -i std
    $GOBIN/go tool dist clean
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 18 16:13:13 GMT 2015
    - 380 bytes
    - Viewed (0)
  2. src/all.rc

    #!/bin/rc -e
    # Copyright 2012 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.
    
    rfork n
    
    if(! test -f make.rc){
    	echo 'all.rc must be run from $GOROOT/src' >[1=2]
    	exit wrongdir
    }
    
    . ./make.rc --no-banner $*
    bind -b $GOROOT/bin /bin
    ./run.rc --no-rebuild
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 20 04:53:46 GMT 2020
    - 388 bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		t.Fatal("reader:", err)
    	}
    	f0 := r.File[0]
    	rc, err := f0.Open()
    	if err != nil {
    		t.Fatal("opening:", err)
    	}
    	rc.(*checksumReader).hash = fakeHash32{}
    	for i := 0; i < chunks; i++ {
    		_, err := io.ReadFull(rc, chunk)
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := io.ReadFull(rc, chunk[:frag])
    		if err != nil {
    			t.Fatal("read:", err)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    			if err != nil {
    				t.Errorf("obscuretestdata.DecodeToTempFile(%s): %v", path, err)
    				return
    			}
    			defer os.Remove(tf)
    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. src/archive/zip/example_test.go

    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    	// This is the source code repository for the Go programming language.
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (linux-386), const ETH_P_DEC = 24576
    pkg syscall (linux-386), const ETH_P_DIAG = 24581
    pkg syscall (linux-386), const ETH_P_DNA_DL = 24577
    pkg syscall (linux-386), const ETH_P_DNA_RC = 24578
    pkg syscall (linux-386), const ETH_P_DNA_RT = 24579
    pkg syscall (linux-386), const ETH_P_DSA = 27
    pkg syscall (linux-386), const ETH_P_ECONET = 24
    pkg syscall (linux-386), const ETH_P_EDSA = 56026
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    	if dcomp == nil {
    		return nil, ErrAlgorithm
    	}
    	var rc io.ReadCloser = dcomp(r)
    	var desr io.Reader
    	if f.hasDataDescriptor() {
    		desr = io.NewSectionReader(f.zipr, f.headerOffset+bodyOffset+size, dataDescriptorLen)
    	}
    	rc = &checksumReader{
    		rc:   rc,
    		hash: crc32.NewIEEE(),
    		f:    f,
    		desr: desr,
    	}
    	return rc, nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    	if f.Name != wt.Name {
    		t.Fatalf("File name: got %q, want %q", f.Name, wt.Name)
    	}
    	testFileMode(t, f, wt.Mode)
    	rc, err := f.Open()
    	if err != nil {
    		t.Fatalf("opening %s: %v", f.Name, err)
    	}
    	b, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatalf("reading %s: %v", f.Name, err)
    	}
    	err = rc.Close()
    	if err != nil {
    		t.Fatalf("closing %s: %v", f.Name, err)
    	}
    	if !bytes.Equal(b, wt.Data) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  9. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const ETH_P_DEC ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_DIAG ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_DNA_DL ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_DNA_RC ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_DNA_RT ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_DSA ideal-int
    pkg syscall (linux-arm-cgo), const ETH_P_ECONET ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  10. api/go1.txt

    pkg syscall (linux-386), const ETH_P_DEC ideal-int
    pkg syscall (linux-386), const ETH_P_DIAG ideal-int
    pkg syscall (linux-386), const ETH_P_DNA_DL ideal-int
    pkg syscall (linux-386), const ETH_P_DNA_RC ideal-int
    pkg syscall (linux-386), const ETH_P_DNA_RT ideal-int
    pkg syscall (linux-386), const ETH_P_DSA ideal-int
    pkg syscall (linux-386), const ETH_P_ECONET ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top