- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for sourceDir (0.05 sec)
-
utils/utils.go
"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) dir = filepath.Dir(dir) s := filepath.Dir(dir) if filepath.Base(s) != "gorm.io" { s = dir } return filepath.ToSlash(s) + "/" }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 10:56:26 UTC 2025 - 4.5K bytes - Viewed (0) -
utils/utils_windows_test.go
want: `C:/go/work/proj/gorm_alias/`, }, { file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`, want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`, }, } for _, c := range cases { s := sourceDir(c.file) if s != c.want { t.Fatalf("%s: expected %s, got %s", c.file, c.want, s) } }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 715 bytes - Viewed (0) -
utils/utils_unix_test.go
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 731 bytes - Viewed (0) -
okhttp/build.gradle.kts
val sourceDir = file("src/jvmMain/java9/") // Use a Java 11 compiler for the module info. javaCompiler.set(project.javaToolchains.compilerFor { languageVersion.set(JavaLanguageVersion.of(11)) }) // Always compile kotlin classes before the module descriptor. dependsOn(compileKotlinTask) // Add the module-info source file. source(sourceDir)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
/** * Manually unblock an IP * * @param sourceIp the IP to unblock * @return true if IP was unblocked, false if not found */ public boolean unblockIp(String sourceIp) { IpAttempts ip = ipAttempts.get(sourceIp); if (ip != null) { ip.reset(); log.info("Manually unblocked IP: {}", sourceIp); return true; } return false;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test log security violation") void testLogSecurityViolation() { Map<String, Object> context = new HashMap<>(); context.put("sourceIP", "192.168.1.100"); context.put("attemptCount", 5); logger.logSecurityViolation("Multiple failed authentication attempts", context); Map<EventType, Long> stats = logger.getStatistics();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
playstation-cloud.com // SourceHut : https://sourcehut.org // Submitted by Drew DeVault <******@****.***> srht.site // SourceLair PC : https://www.sourcelair.com // Submitted by Antonis Kalipetis <akalipetis@sourcelair.com> apps.lair.io *.stolos.io // SpaceKit : https://www.spacekit.io/ // Submitted by Reza Akhavan <******@****.***> spacekit.io
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 309.7K bytes - Viewed (1) -
CHANGELOG/CHANGELOG-1.5.md
* Ensure proper serialization of updates and creates in federation test watcher ([#36613](https://github.com/kubernetes/kubernetes/pull/36613), [@mwielgus](https://github.com/mwielgus)) * Add support for SourceIP preservation in Azure LBs ([#36557](https://github.com/kubernetes/kubernetes/pull/36557), [@brendandburns](https://github.com/brendandburns))
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 136.4K bytes - Viewed (0)