Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,227 for failme (0.11 sec)

  1. src/os/file.go

    	}
    	return nil
    }
    
    // Open opens the named file for reading. If successful, methods on
    // the returned file can be used for reading; the associated file
    // descriptor has mode O_RDONLY.
    // If there is an error, it will be of type *PathError.
    func Open(name string) (*File, error) {
    	return OpenFile(name, O_RDONLY, 0)
    }
    
    // Create creates or truncates the named file. If the file already exists,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. security/pkg/pki/ra/k8s_ra_test.go

    	if err != nil {
    		t.Errorf("Validation CSR failed")
    	}
    	subjectID := spiffe.Identity{TrustDomain: "cluster.local", Namespace: "default", ServiceAccount: "bookinfo-productpage"}.String()
    	_, err = r.Sign(csrPEM, ca.CertOpts{
    		SubjectIDs: []string{subjectID},
    		TTL:        60 * time.Second, ForCA: false,
    	})
    	if err != nil {
    		t.Errorf("K8s CA Signing CSR failed")
    	}
    }
    
    func TestValidateCSR(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 00:44:54 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/go/build/testdata/other/file/file.go

    // Test data - not compiled.
    
    package file
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 56 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/files/archiveNaming/groovy/somedir/file.txt

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 19 bytes
    - Viewed (0)
  5. pkg/file/file.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package file
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    )
    
    // AtomicCopy copies file by reading the file then writing atomically into the target directory
    func AtomicCopy(srcFilepath, targetDir, targetFilename string) error {
    	in, err := os.Open(srcFilepath)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 21:42:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. test/interface/fail.go

    // run
    
    // Copyright 2009 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.
    
    // Test that interface conversion fails when method is missing.
    
    package main
    
    type I interface {
    	Foo()
    }
    
    func main() {
    	shouldPanic(p1)
    }
    
    func p1() {
    	var s *S
    	var i I
    	var e interface{}
    	e = s
    	i = e.(I)
    	_ = i
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 15 16:55:13 UTC 2014
    - 544 bytes
    - Viewed (0)
  7. cmd/import-boss/testdata/inverse/forbidden/file.go

    Tim Hockin <******@****.***> 1705473522 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 39 bytes
    - Viewed (0)
  8. cmd/import-boss/testdata/inverse/neither/n1/file.go

    Tim Hockin <******@****.***> 1705473522 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 25 bytes
    - Viewed (0)
  9. cmd/import-boss/testdata/nested-fwd/allowed-by-sub/file.go

    Tim Hockin <******@****.***> 1705473522 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 45 bytes
    - Viewed (0)
  10. cmd/import-boss/testdata/nested-fwd/neither/n2/file.go

    Tim Hockin <******@****.***> 1705473522 -0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 25 bytes
    - Viewed (0)
Back to top