Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for openDir (0.23 sec)

  1. src/embed/embed.go

    		return n, io.EOF
    	}
    	return n, nil
    }
    
    // An openDir is a directory open for reading.
    type openDir struct {
    	f      *file  // the directory file itself
    	files  []file // the directory contents
    	offset int    // the read offset, an index into the files slice
    }
    
    func (d *openDir) Close() error               { return nil }
    func (d *openDir) Stat() (fs.FileInfo, error) { return d.f, nil }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs.go

    	files  []string
    }
    
    // errorf adds an error to the list of errors.
    func (t *fsTester) errorf(format string, args ...any) {
    	t.errors = append(t.errors, fmt.Errorf(format, args...))
    }
    
    func (t *fsTester) openDir(dir string) fs.ReadDirFile {
    	f, err := t.fsys.Open(dir)
    	if err != nil {
    		t.errorf("%s: Open: %w", dir, err)
    		return nil
    	}
    	d, ok := f.(fs.ReadDirFile)
    	if !ok {
    		f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

            expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_MKDIR, "MKDIR", path)
        }
    
        void expectOpendir(String path) {
            expectations << new SftpExpectOneOpen(SftpConstants.SSH_FXP_OPENDIR, "OPENDIR", path)
        }
    
        void allowReaddir(String path) {
            expectations << new SftpAllowHandle(SftpConstants.SSH_FXP_READDIR, path)
        }
    
        void allowWrite(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/syscall/fs_wasip1.go

    func fd_prestat_dir_name(fd int32, path unsafe.Pointer, pathLen size) Errno
    
    type opendir struct {
    	fd   int32
    	name string
    }
    
    // List of preopen directories that were exposed by the runtime. The first one
    // is assumed to the be root directory of the file system, and others are seen
    // as mount points at sub paths of the root.
    var preopens []opendir
    
    // Current working directory. We maintain this as a string and resolve paths in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. src/os/file.go

    		return nil, err
    	}
    	f.appendMode = flag&O_APPEND != 0
    
    	return f, nil
    }
    
    // openDir opens a file which is assumed to be a directory. As such, it skips
    // the syscalls that make the file descriptor non-blocking as these take time
    // and will fail on file descriptors for directories.
    func openDir(name string) (*File, error) {
    	testlog.Open(name)
    	return openDirNolog(name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // OpenID keys and envs.
    const (
    	ClientID      = "client_id"
    	ClientSecret  = "client_secret"
    	ConfigURL     = "config_url"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. docs/sts/web-identity.md

    export MINIO_ROOT_PASSWORD=minio123
    export MINIO_IDENTITY_OPENID_CONFIG_URL=https://accounts.google.com/.well-known/openid-configuration
    export MINIO_IDENTITY_OPENID_CLIENT_ID="843351d4-1080-11ea-aa20-271ecba3924a"
    # Optional: Allow to specify the requested OpenID scopes (OpenID only requires the `openid` scope)
    #export MINIO_IDENTITY_OPENID_SCOPES="openid,profile,email"
    minio server /mnt/export
    ```
    
    or using `mc`
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/text/unicode/bidi/bracket.go

    				p.openers.Init()
    				return
    			}
    			// remember opener location, most recent first
    			p.openers.PushFront(i)
    
    		case bpClose:
    			// see if there is a match
    			count := 0
    			for elem := p.openers.Front(); elem != nil; elem = elem.Next() {
    				count++
    				opener := elem.Value.(int)
    				if p.matchOpener(pairValues, opener, i) {
    					// if the opener matches, add nested pair to the ordered list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11.2K bytes
    - Viewed (0)
  9. pkg/serviceaccount/openidmetadata_test.go

    		Name   string
    		Path   string
    		WantOK bool
    	}{
    		{"OIDC config path", "/.well-known/openid-configuration", true},
    		{"JWKS path", "/openid/v1/jwks", true},
    		{"well-known", "/.well-known", false},
    		{"subpath", "/openid/v1/jwks/foo", false},
    		{"query", "/openid/v1/jwks?format=yaml", true},
    		{"fragment", "/openid/v1/jwks#issuer", true},
    	} {
    		t.Run(tt.Name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-config.go

    		return ErrAdminConfigIDPCfgNameDoesNotExist
    	}
    	return ErrNone
    }
    
    // AddIdentityProviderCfg: adds a new IDP config for openid/ldap.
    //
    // PUT <admin-prefix>/idp-cfg/openid/dex1 -> create named config `dex1`
    //
    // PUT <admin-prefix>/idp-cfg/openid/_ -> create (default) named config `_`
    func (a adminAPIHandlers) AddIdentityProviderCfg(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top