Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for qsig (0.25 sec)

  1. cmd/peer-rest-client.go

    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // SignalService - sends signal to peer nodes.
    func (client *peerRESTClient) SignalService(sig serviceSignal, subSys string, dryRun bool) error {
    	values := grid.NewMSS()
    	values.Set(peerRESTSignal, strconv.Itoa(int(sig)))
    	values.Set(peerRESTDryRun, strconv.FormatBool(dryRun))
    	values.Set(peerRESTSubSys, subSys)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/sftp-server.go

    // authentication algorithms. Note that this doesn't include certificate types
    // since those use the underlying algorithm. This list is sent to the client if
    // it supports the server-sig-algs extension. Order is irrelevant.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=142
    var supportedPubKeyAuthAlgos = []string{
    	ssh.KeyAlgoED25519,
    	ssh.KeyAlgoSKED25519, ssh.KeyAlgoSKECDSA256,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		return false
    	}
    
    	d = make([]byte, directory64EndLen)
    	if _, err := zip.ReadAt(d, dirOff); err != nil {
    		t.Fatalf("ReadAt(off=%d): %v", dirOff, err)
    	}
    
    	b := readBuf(d)
    	if sig := b.uint32(); sig != directory64EndSignature {
    		return false
    	}
    
    	size := b.uint64()
    	if size != directory64EndLen-12 {
    		t.Errorf("expected length of %d, got %d", directory64EndLen-12, size)
    	}
    	return true
    }
    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/cmd/api/main_test.go

    	default:
    		panic(fmt.Sprintf("unknown type %T", typ))
    	}
    }
    
    func (w *Walker) writeSignature(buf *bytes.Buffer, sig *types.Signature) {
    	if tparams := sig.TypeParams(); tparams != nil {
    		w.writeTypeParams(buf, tparams, true)
    	}
    	w.writeParams(buf, sig.Params(), sig.Variadic())
    	switch res := sig.Results(); res.Len() {
    	case 0:
    		// nothing to do
    	case 1:
    		buf.WriteByte(' ')
    		w.writeType(buf, res.At(0).Type())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. cmd/notification.go

    func (sys *NotificationSys) SignalService(sig serviceSignal) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(GlobalContext, func() error {
    			// force == true preserves the current behavior
    			return client.SignalService(sig, "", false)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
    //
    // returns ErrNone if signature matches.
    func doesSignatureMatch(hashedPayload string, r *http.Request, region string, stype serviceType) APIErrorCode {
    	// Copy request.
    	req := *r
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    	for i := 0; i < size-4; i += 4 {
    		copy(b[i:i+4], sig)
    	}
    	_, err = NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("sigs: error=%v, want %v", err, ErrFormat)
    	}
    
    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)
Back to top