Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 513 for read1 (0.32 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_other.go

    //go:build (js && wasm) || wasip1 || plan9 || (solaris && !go1.20)
    
    package mmap
    
    import (
    	"io"
    	"os"
    )
    
    // mmapFile on other systems doesn't mmap the file. It just reads everything.
    func mmapFile(f *os.File, _ *Data) (Data, error) {
    	b, err := io.ReadAll(f)
    	if err != nil {
    		return Data{}, err
    	}
    	return Data{f, b, nil}, nil
    }
    
    func munmapFile(d Data) error {
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 21:40:49 UTC 2024
    - 540 bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.json

                "message": "messageValue",
                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server.go

    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    	log.Info("CNI ambient server terminating, cleaning up node net rules")
    
    	s.cniServerStopFunc()
    	s.dataplane.Stop()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

            then:
            symbols.size() == 4
            symbols*.name.containsAll(['multiply.cpp', 'sum.cpp', 'greeter.cpp', 'main.cpp'])
        }
    
        @Unroll("reads soname value with #language readelf output")
        def "reads soname value"() {
            when:
            def inputLines = input.readLines()
    
            then:
            ReadelfBinaryInfo.readSoName(inputLines) == 'heythere'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. pkg/controller/daemon/update_test.go

    		logger.Info("marked pod ready", "pod", pod.Name, "ready", ready)
    		count--
    	}
    	if count > 0 {
    		t.Fatalf("could not mark %d pods ready=%t", count, ready)
    	}
    }
    
    func currentDSHash(dsc *daemonSetsController, ds *apps.DaemonSet) (string, error) {
    	// Construct histories of the DaemonSet, and get the hash of current history
    	cur, _, err := dsc.constructHistory(context.TODO(), ds)
    	if err != nil {
    		return "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/os/pipe2_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    package os
    
    import "syscall"
    
    // Pipe returns a connected pair of Files; reads from r return bytes written to w.
    // It returns the files and an error, if any.
    func Pipe() (r *File, w *File, err error) {
    	var p [2]int
    
    	e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
    	if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 654 bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	pkiReadWriter := newPKICertificateReadWriter(dir, "test")
    
    	// Reads the certificate
    	readCert, err := pkiReadWriter.Read()
    	if err != nil {
    		t.Fatalf("couldn't read certificate: %v", err)
    	}
    
    	// Check if the certificate read from disk is equal to the original one
    	if !cert.Equal(readCert) {
    		t.Errorf("read cert does not match with expected cert")
    	}
    
    	// Create a new cert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager.go

    		return false, err
    	}
    
    	// in case of external CA it is not possible to renew certificates, then return early
    	if externallyManaged {
    		return false, nil
    	}
    
    	// reads the current certificate
    	cert, err := handler.readwriter.Read()
    	if err != nil {
    		return false, err
    	}
    
    	// extract the certificate config
    	certConfig := certToConfig(cert)
    	for _, f := range handler.certConfigMutators {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. docs/bucket/replication/sio-error.sh

    done
    
    sleep 10
    
    ./mc alias set myminio1 http://localhost:9001 minioadmin minioadmin
    ./mc alias set myminio2 http://localhost:9101 minioadmin minioadmin
    
    ./mc ready myminio1
    ./mc ready myminio2
    sleep 1
    
    ./mc mb myminio1/testbucket/ --with-lock
    ./mc mb myminio2/testbucket/ --with-lock
    
    ./mc encrypt set sse-s3 my-minio-key myminio1/testbucket/
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. docs/bucket/replication/test_del_marker_proxying.sh

    		chmod +x mc
    fi
    
    export MC_HOST_sitea=http://minio:minio123@127.0.0.1:9001
    export MC_HOST_siteb=http://minio:minio123@127.0.0.1:9002
    
    ./mc ready sitea
    ./mc ready siteb
    
    ./mc mb sitea/bucket
    ./mc version enable sitea/bucket
    ./mc mb siteb/bucket
    ./mc version enable siteb/bucket
    
    # Set bucket replication
    ./mc replicate add sitea/bucket --remote-bucket siteb/bucket
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 11:38:26 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top