- Sort Score
- Result 10 results
- Languages All
Results 2951 - 2960 of 4,771 for Same (0.03 sec)
-
tests/test_security_scopes.py
from typing import Annotated import pytest from fastapi import Depends, FastAPI, Security from fastapi.testclient import TestClient @pytest.fixture(name="call_counter") def call_counter_fixture(): return {"count": 0} @pytest.fixture(name="app") def app_fixture(call_counter: dict[str, int]): def get_db(): call_counter["count"] += 1 return f"db_{call_counter['count']}"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1006 bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
} // Validate server name String server = parts[0]; if (!isValidHost(server)) { throw new SmbException("Invalid server name in UNC path"); } // Validate share name String share = parts[1]; if (share.isEmpty() || share.endsWith("$") && share.length() == 1) { throw new SmbException("Invalid share name in UNC path"); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @return the logger instance */ Logger getLogger(); /** * Extracts the host name from a URL string. * Removes protocol and path components to return just the hostname. * * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
/** * Gets the status. * * @return the status */ public int getStatus() { return status; } /** * Gets the cluster name. * * @return the cluster name */ public String getClusterName() { return clusterName; } /** * Gets the cluster status. * * @return the cluster status */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.4K bytes - Viewed (2) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
/** * SMB2 Durable Handle V2 Request Create Context (DH2Q) * * MS-SMB2 Section 2.2.13.2.4 */ public class DurableHandleV2Request implements CreateContextRequest { /** * Context name for durable handle V2 request */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
if ("aad".equals(ssoType)) { ssoType = "entraid"; } final String name = ssoType + "Authenticator"; if (ComponentUtil.hasComponent(name)) { return ComponentUtil.getComponent(name); } return null; } /** * Gets the configured SSO type from the system configuration. *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
* @param type The SID type. * @param name The account name. * @return The search role. */ protected String createSearchRole(final int type, final String name) { if (fessConfig.isLdapLowercasePermissionName()) { return type + fessConfig.getCanonicalLdapName(name).toLowerCase(Locale.ROOT); } return type + fessConfig.getCanonicalLdapName(name); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.3K bytes - Viewed (0) -
tests/update_has_one_test.go
user.Account.UpdatedAt = user4.Account.UpdatedAt CheckUser(t, user4, user) } t.Run("Polymorphic", func(t *testing.T) { pet := Pet{Name: "create"} if err := DB.Create(&pet).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } pet.Toy = Toy{Name: "Update-HasOneAssociation-Polymorphic"} if err := DB.Save(&pet).Error; err != nil { t.Fatalf("errors happened when create: %v", err) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
private String indexName = null; @Override protected String asEsIndex() { if (indexName == null) { final String name = ComponentUtil.getFessConfig().getIndexLogIndex(); indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name); } return indexName; } @Override protected LocalDateTime toLocalDateTime(final Object value) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java
* * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Named(PluginsMetadataGeneratorFactory.NAME) @Singleton @Deprecated(since = "4.0.0") public class PluginsMetadataGeneratorFactory implements MetadataGeneratorFactory { public static final String NAME = "plugins"; @Override public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0)