Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 882 for Range (0.04 seconds)

  1. cmd/sftp-server_test.go

    	return nil
    }
    
    func newSSHConnMock(username string) ssh.ConnMetadata {
    	return &MockConnMeta{username: username}
    }
    
    func TestSFTPAuthentication(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				suite.SetUpSuite(c)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 27 18:43:32 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. lib/fips140/v1.1.0-rc1.zip

    priv.pub.a[:k*l] computeMatrixA(A, ρ, p) s1 := priv.s1[:l] for r := range l { s1[r] = ntt(sampleBoundedPoly(ρs, byte(r), p)) } s2 := priv.s2[:k] for r := range k { s2[r] = ntt(sampleBoundedPoly(ρs, byte(l+r), p)) } // ˆt = Â ∘ ŝ₁ + ŝ₂ tHat := make([]nttElement, k, maxK) for i := range tHat { tHat[i] = s2[i] for j := range s1 { tHat[i] = polyAdd(tHat[i], nttMul(A[i*l+j], s1[j])) } } // t = NTT⁻¹(ˆt) t := make([]ringElement, k, maxK) for i := range tHat { t[i] = inverseNTT(tHat[i]) } // (t₁, _) = Power2Round(t)...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  3. tests/scan_test.go

    		Find(&personAddressInfoList).Error; err != nil {
    		t.Errorf("Failed to run join query, got error: %v", err)
    	}
    
    	personMatched := false
    	addressMatched := false
    
    	for _, info := range personAddressInfoList {
    		if info.Person == nil {
    			t.Fatalf("Failed, expected not nil, got person nil")
    		}
    		if info.Address == nil {
    			t.Fatalf("Failed, expected not nil, got address nil")
    		}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  4. internal/auth/credentials.go

    		return "", errors.New("auth: access key length is too short")
    	}
    
    	key := make([]byte, length)
    	if _, err := io.ReadFull(random, key); err != nil {
    		return "", err
    	}
    	for i := range key {
    		key[i] = alphaNumericTable[key[i]%alphaNumericTableLen]
    	}
    	return string(key), nil
    }
    
    // GenerateSecretKey returns a new secret key generated randomly using
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. tests/prepared_stmt_test.go

    			tx.First(&result)
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts.Keys()), 2)
    	for _, stmt := range conn.Stmts.Keys() {
    		if stmt == "" {
    			t.Fatalf("stmt cannot bee nil")
    		}
    	}
    
    	AssertEqual(t, sqlDB.Stats().InUse, 0)
    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. docs/distributed/DESIGN.md

            total := serverPools.TotalAvailable()
            // choose when we reach this many
            choose := rand.Uint64() % total
            atTotal := uint64(0)
            for _, pool := range serverPools {
                    atTotal += pool.Available
                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  7. cmd/kms-handlers.go

    		return
    	}
    
    	// Now we have all the key names, for each of them, check whether the policy grants permission for
    	// the user to list it. Filter in place to leave only allowed keys.
    	n := 0
    	for _, k := range allKeys {
    		if checkKMSActionAllowed(r, owner, cred, policy.KMSListKeysAction, k.Name) {
    			allKeys[n] = k
    			n++
    		}
    	}
    	allKeys = allKeys[:n]
    
    	if res, err := json.Marshal(allKeys); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  8. src/archive/tar/reader.go

    	}
    	return readGNUSparseMap0x1(hdr.PAXRecords)
    }
    
    // mergePAX merges paxHdrs into hdr for all relevant fields of Header.
    func mergePAX(hdr *Header, paxHdrs map[string]string) (err error) {
    	for k, v := range paxHdrs {
    		if v == "" {
    			continue // Keep the original USTAR value
    		}
    		var id64 int64
    		switch k {
    		case paxPath:
    			hdr.Name = v
    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  9. internal/grid/handlers.go

    							}
    						}
    					}
    				}()
    			}
    			outT := make(chan Resp)
    			outDone := make(chan struct{})
    			go func() {
    				defer xioutil.SafeClose(outDone)
    				dropOutput := false
    				for v := range outT {
    					if dropOutput {
    						continue
    					}
    					dst, err := v.MarshalMsg(GetByteBufferCap(v.Msgsize()))
    					if err != nil {
    						gridLogOnceIf(ctx, err, err.Error())
    					}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  10. docs/debugging/inspect/export.go

    		return e
    	}
    	if st, e := f.Stat(); e == nil {
    		sz = st.Size()
    	}
    	defer f.Close()
    	r = f
    
    	zr, e := zip.NewReader(r.(io.ReaderAt), sz)
    	if e != nil {
    		return e
    	}
    	for _, file := range zr.File {
    		if !file.FileInfo().IsDir() && strings.HasSuffix(file.Name, "xl.meta") {
    			r, e := file.Open()
    			if e != nil {
    				return e
    			}
    			// Quote string...
    			b, _ := json.Marshal(file.Name)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (1)
Back to Top