- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for sourceDir (0.81 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 Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
cmd/policy_test.go
AccountName: "Q3AM3UQ867SPQQA43P2F", Action: policy.PutObjectAction, BucketName: "mybucket", ConditionValues: map[string][]string{ "x-amz-copy-source": {"mybucket/myobject"}, "SourceIp": {"192.168.1.10"}, }, ObjectName: "myobject", } anonGetObjectActionArgs := policy.BucketPolicyArgs{ AccountName: "Q3AM3UQ867SPQQA43P2F", Action: policy.GetObjectAction,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
cmd/bucket-policy.go
} args := map[string][]string{ "CurrentTime": {currTime.Format(time.RFC3339)}, "EpochTime": {strconv.FormatInt(currTime.Unix(), 10)}, "SecureTransport": {strconv.FormatBool(r.TLS != nil)}, "SourceIp": {handlers.GetSourceIPRaw(r)}, "UserAgent": {r.UserAgent()}, "Referer": {r.Referer()}, "principaltype": {principalType}, "userid": {username},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 309.7K bytes - Viewed (0)