Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 95 for Getenv (0.06 sec)

  1. internal/config/certs_test.go

    		if err != nil {
    			os.Remove(privateKey)
    			t.Fatalf("Test %d: failed to create tmp certificate file: %v", i, err)
    		}
    
    		if testCase.password != "" {
    			t.Setenv(EnvCertPassword, testCase.password)
    		}
    		_, err = LoadX509KeyPair(certificate, privateKey)
    		if err != nil && !testCase.shouldFail {
    			t.Errorf("Test %d: test should succeed but it failed: %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  2. api/go1.18.txt

    pkg testing, method (*F) Helper()
    pkg testing, method (*F) Log(...interface{})
    pkg testing, method (*F) Logf(string, ...interface{})
    pkg testing, method (*F) Name() string
    pkg testing, method (*F) Setenv(string, string)
    pkg testing, method (*F) Skip(...interface{})
    pkg testing, method (*F) SkipNow()
    pkg testing, method (*F) Skipf(string, ...interface{})
    pkg testing, method (*F) Skipped() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. .golangci.yml

    linters:
      disable-all: true
      enable:
        - durationcheck
        - gocritic
        - gofumpt
        - goimports
        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - tenv
        - typecheck
        - unconvert
        - unused
    
    issues:
      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    			continue
    		}
    		if got := fi.ModTime(); !got.Equal(test.want) {
    			t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want)
    		}
    	}
    }
    
    func TestCVE202127919(t *testing.T) {
    	t.Setenv("GODEBUG", "zipinsecurepath=0")
    	// Archive containing only the file "../test.txt"
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  5. internal/config/notify/parse.go

    			passwordEnv = passwordEnv + config.Default + k
    		}
    		userEnv := target.EnvRedisUser
    		if k != config.Default {
    			userEnv = userEnv + config.Default + k
    		}
    		keyEnv := target.EnvRedisKey
    		if k != config.Default {
    			keyEnv = keyEnv + config.Default + k
    		}
    		queueDirEnv := target.EnvRedisQueueDir
    		if k != config.Default {
    			queueDirEnv = queueDirEnv + config.Default + k
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    // Tests that involve both reading and writing.
    
    package zip
    
    import (
    	"bytes"
    	"cmp"
    	"errors"
    	"fmt"
    	"hash"
    	"internal/testenv"
    	"io"
    	"runtime"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/archive/tar/tar_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"io/fs"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"path/filepath"
    	"reflect"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. go.mod

    	github.com/sourcegraph/conc v0.3.0 // indirect
    	github.com/spf13/afero v1.11.0 // indirect
    	github.com/spf13/cast v1.7.0 // indirect
    	github.com/stretchr/objx v0.5.2 // indirect
    	github.com/subosito/gotenv v1.6.0 // indirect
    	github.com/vbatts/tar-split v0.11.5 // indirect
    	github.com/x448/float16 v0.8.4 // indirect
    	github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. docs/nl/docs/python-types.md

    Het belangrijkste om te onthouden is dat **de eerste *typeparameter*** die je doorgeeft aan `Annotated` het **werkelijke type** is. De rest is gewoon metadata voor andere hulpmiddelen.
    
    Voor nu hoef je alleen te weten dat `Annotated` bestaat en dat het standaard Python is. 😎
    
    Later zul je zien hoe **krachtig** het kan zijn.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top