- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,341 for varr (0.02 sec)
-
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) -
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) -
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) -
.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) -
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) -
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) -
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) -
istioctl/cmd/root.go
proxystatus.XdsStatusCommand(ctx), } troubleshootingCommands := []*cobra.Command{ version.NewVersionCommand(ctx), proxystatus.StableXdsStatusCommand(ctx), } var debugCmdAttachmentPoint *cobra.Command if viper.GetBool("PREFER-EXPERIMENTAL") { legacyCmd := &cobra.Command{ Use: "legacy", Short: "Legacy command variants", } rootCmd.AddCommand(legacyCmd)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Aug 05 02:08:47 UTC 2024 - 9.6K bytes - Viewed (0) -
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) -
lib/time/mkzip.go
} func main() { log.SetPrefix("mkzip: ") log.SetFlags(0) flag.Usage = usage flag.Parse() args := flag.Args() if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") { usage() } var zb bytes.Buffer zw := zip.NewWriter(&zb) seen := make(map[string]bool) err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error { if d.IsDir() { return nil }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0)