Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Mooring (0.17 sec)

  1. internal/config/identity/openid/provider/provider.go

    	ErrNotImplemented     = errors.New("function not implemented")
    	ErrAccessTokenExpired = errors.New("access_token expired or unauthorized")
    )
    
    // Provider implements identity provider specific admin operations, such as
    // looking up users, fetching additional attributes etc.
    type Provider interface {
    	LoginWithUser(username, password string) error
    	LoginWithClientID(clientID, clientSecret string) error
    	LookupUser(userid string) (User, error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	// IndexCB will return any index created but the compression.
    	// Object must have been read at this point.
    	IndexCB func() []byte
    
    	// InclFreeVersions indicates that free versions need to be included
    	// when looking up a version by fi.VersionID
    	InclFreeVersions bool
    	// SkipFreeVersion skips adding a free version when a tiered version is
    	// being 'replaced'
    	// Note: Used only when a tiered object is being expired.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	if err != nil {
    		return 0, err
    	}
    	defer lock.Close()
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 0, err
    	}
    
    	// In case we're booting a device or emulator alongside all.bash, wait for
    	// it to be ready. adb wait-for-device is not enough, we have to
    	// wait for sys.boot_completed.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	_, err = io.Copy(fw, r)
    	return err
    }
    
    // RegisterCompressor registers or overrides a custom compressor for a specific
    // method ID. If a compressor for a given method is not found, [Writer] will
    // default to looking up the compressor at the package level.
    func (w *Writer) RegisterCompressor(method uint16, comp Compressor) {
    	if w.compressors == nil {
    		w.compressors = make(map[uint16]Compressor)
    	}
    	w.compressors[method] = comp
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. internal/etag/etag.go

    // An S3 implementation has to remember the content MD5 of objects
    // in case of SSE-S3. However, storing the ETag of an encrypted
    // object in plaintext may reveal some information about the object.
    // For example, two objects with the same ETag are identical with
    // a very high probability.
    //
    // Therefore, an S3 implementation may encrypt an ETag before storing
    // it. In this case, the stored ETag may not be a well-formed S3 ETag.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	return nil, errors.New("failed to set up idevicedebugserverproxy")
    }
    
    // findDeviceAppPath returns the device path to the app with the
    // given bundle ID. It parses the output of ideviceinstaller -l -o xml,
    // looking for the bundle ID and the corresponding Path value.
    func findDeviceAppPath(bundleID string) (string, error) {
    	cmd := idevCmd(exec.Command("ideviceinstaller", "-l", "-o", "xml"))
    	out, err := cmd.CombinedOutput()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  8. internal/color/color.go

    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.Bold).SprintfFunc()
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 13 16:27:40 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  9. cmd/bitrot-streaming.go

    		totalFileSize := int64(-1) // For compressed objects length will be unknown (represented by length=-1)
    		if length != -1 {
    			bitrotSumsTotalSize := ceilFrac(length, shardSize) * int64(h.Size()) // Size used for storing bitrot checksums.
    			totalFileSize = bitrotSumsTotalSize + length
    		}
    		r.CloseWithError(disk.CreateFile(context.TODO(), origvolume, volume, filePath, totalFileSize, r))
    	}()
    	return bw
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    	// so that no file modifications are missed while and after checking
    	// note: we create a file watcher for each invocation, otherwise when we write to the directories
    	// we would get infinite looping of events
    	//
    	// Additionally, fsnotify will lose existing watches on atomic copies (due to overwrite/rename),
    	// so we have to re-watch after re-copy to make sure we always have fresh watches.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top