Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 144 for Grand (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    ///
    
    ## 處理 JWT 權杖 { #handle-jwt-tokens }
    
    匯入剛安裝的模組。
    
    建立一把隨機的密鑰(secret key)用於簽署 JWT 權杖。
    
    要產生安全的隨機密鑰可使用以下指令:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    將輸出的值複製到變數 `SECRET_KEY`(不要使用範例中的那一組)。
    
    建立變數 `ALGORITHM` 指定用來簽署 JWT 權杖的演算法,設為 `"HS256"`。
    
    建立一個權杖有效期的變數。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/oauth2-jwt.md

    ///
    
    ## 处理 JWT 令牌 { #handle-jwt-tokens }
    
    导入已安装的模块。
    
    创建一个用于对 JWT 令牌进行签名的随机密钥。
    
    使用下列命令生成一个安全的随机密钥:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    把输出复制到变量 `SECRET_KEY`(不要使用示例中的那个)。
    
    创建变量 `ALGORITHM`,设置用于签名 JWT 令牌的算法,这里设为 `"HS256"`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. cmd/bucket-replication.go

    	go p.startResyncRoutine(ctx, buckets, objAPI)
    	return nil
    }
    
    func (p *ReplicationPool) startResyncRoutine(ctx context.Context, buckets []string, objAPI ObjectLayer) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  4. tests/migrate_test.go

    	rand.Seed(time.Now().UnixNano())
    	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
    	DB.Migrator().DropTable("user_speaks", "user_friends", "ccc")
    
    	if err := DB.Migrator().DropTable(allModels...); err != nil {
    		t.Fatalf("Failed to drop table, got error %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/security/oauth2-jwt.md

    ///
    
    ## JWT 토큰 처리 { #handle-jwt-tokens }
    
    설치된 모듈을 임포트합니다.
    
    JWT 토큰을 서명하는 데 사용할 임의의 비밀 키를 생성합니다.
    
    안전한 임의의 비밀 키를 생성하려면 다음 명령을 사용하십시오:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    그리고 출력 결과를 변수 `SECRET_KEY`에 복사합니다(예제의 값을 사용하지 마십시오).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  6. src/bufio/bufio_test.go

    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    func TestWriterAppend(t *testing.T) {
    	got := new(bytes.Buffer)
    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  7. cmd/object-api-multipart_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/hash"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  8. api/go1.txt

    pkg math/rand, method (*Rand) Int31n(int32) int32
    pkg math/rand, method (*Rand) Int63() int64
    pkg math/rand, method (*Rand) Int63n(int64) int64
    pkg math/rand, method (*Rand) Intn(int) int
    pkg math/rand, method (*Rand) NormFloat64() float64
    pkg math/rand, method (*Rand) Perm(int) []int
    pkg math/rand, method (*Rand) Seed(int64)
    pkg math/rand, method (*Rand) Uint32() uint32
    pkg math/rand, method (*Zipf) Uint64() uint64
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BVS CR6, LR                     // 4d9b0020
    	BVS 0(PC)                       // 41830000
    	JMP 8(PC)                       // 48000010
    
    	NOP
    	NOP R2
    	NOP F2
    	NOP $4
    
    	CRAND CR0GT, CR0EQ, CR0SO       // 4c620a02
    	CRANDN CR0GT, CR0EQ, CR0SO      // 4c620902
    	CREQV CR0GT, CR0EQ, CR0SO       // 4c620a42
    	CRNAND CR0GT, CR0EQ, CR0SO      // 4c6209c2
    	CRNOR CR0GT, CR0EQ, CR0SO       // 4c620842
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 51.7K bytes
    - Click Count (0)
  10. doc/asm.html

    (Exception: the <code>g</code> register renaming on ARM.)
    </p>
    
    <p>
    In Go object files and binaries, the full name of a symbol is the
    package path followed by a period and the symbol name:
    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top