Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,524 for Var (0.05 sec)

  1. utils/utils.go

    package utils
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/fips/api.go

    		tls.TLS_RSA_WITH_AES_128_CBC_SHA,
    		tls.TLS_RSA_WITH_AES_256_CBC_SHA,
    	}
    }
    
    // TLSCurveIDs returns a list of supported elliptic curve IDs
    // in preference order.
    func TLSCurveIDs() []tls.CurveID {
    	var curves []tls.CurveID
    	if !Enabled {
    		curves = append(curves, tls.X25519) // Only enable X25519 in non-FIPS mode
    	}
    	curves = append(curves, tls.CurveP256, tls.CurveP384, tls.CurveP521)
    	return curves
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:11:25 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. internal/store/store.go

    )
    
    const (
    	retryInterval = 3 * time.Second
    )
    
    type logger = func(ctx context.Context, err error, id string, errKind ...interface{})
    
    // ErrNotConnected - indicates that the target connection is not active.
    var ErrNotConnected = errors.New("not connected to target server/service")
    
    // Target - store target interface
    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

     * limitations under the License.
     */
    
    @ExtendWith(MockKExtension::class)
    class ApplyDefaultConfigurationTest {
        @MockK(relaxed = true)
        lateinit var buildType: BaseGradleBuildType
    
        private
        val steps = BuildSteps()
    
        private
        val buildModel = CIBuildModel(
            projectId = "Gradle_Check",
            branch = VersionedSettingsBranch("master"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug_test.go

    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val hostnameVerifier = RecordingHostnameVerifier()
      private lateinit var client: OkHttpClient
      private lateinit var host: String
      private lateinit var url: HttpUrl
      private val networkLogs = LogRecorder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  7. cmd/metrics-v3-api.go

    	apiRequestsTTFBSecondsDistribution MetricName = "ttfb_seconds_distribution"
    
    	apiTrafficSentBytes MetricName = "traffic_sent_bytes"
    	apiTrafficRecvBytes MetricName = "traffic_received_bytes"
    )
    
    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    		"Total number of requests rejected for auth failure", "type")
    	apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. internal/config/api/api.go

    	apiRequestsDeadline         = "requests_deadline"
    	apiReplicationWorkers       = "replication_workers"
    	apiReplicationFailedWorkers = "replication_failed_workers"
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   apiRequestsMax,
    			Value: "0",
    		},
    		config.KV{
    			Key:   apiClusterDeadline,
    			Value: "10s",
    		},
    		config.KV{
    			Key:   apiCorsAllowOrigin,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        platform.localhostHandshakeCertificates()
    
      private lateinit var server: MockWebServer
      private lateinit var protocol: Protocol
      private lateinit var client: OkHttpClient
      private val fileSystem: FakeFileSystem = FakeFileSystem()
      private val cache: Cache = Cache(fileSystem, "/tmp/cache".toPath(), Long.MAX_VALUE)
      private lateinit var scheme: String
    
      private fun configureClientTestRule(): OkHttpClientTestRule {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    func TestReader(t *testing.T) {
    	for _, zt := range tests {
    		t.Run(zt.Name, func(t *testing.T) {
    			readTestZip(t, zt)
    		})
    	}
    }
    
    func readTestZip(t *testing.T, zt ZipTest) {
    	var z *Reader
    	var err error
    	var raw []byte
    	if zt.Source != nil {
    		rat, size := zt.Source()
    		z, err = NewReader(rat, size)
    		raw = make([]byte, size)
    		if _, err := rat.ReadAt(raw, 0); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top