- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for hasone (0.14 sec)
-
tests/associations_has_one_test.go
t.Errorf("account's number should not be saved") } } func TestHasOneAssociationForSlice(t *testing.T) { users := []User{ *GetUser("slice-hasone-1", Config{Account: true}), *GetUser("slice-hasone-2", Config{Account: false}), *GetUser("slice-hasone-3", Config{Account: true}), } DB.Create(&users) // Count AssertAssociationCount(t, users, "Account", 2, "") // Find
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
callbacks/delete.go
if !v { continue } rel, ok := db.Statement.Schema.Relationships.Relations[column] if !ok { continue } switch rel.Type { case schema.HasOne, schema.HasMany: queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue) modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
} public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); } public boolean hasRole(final String role) { return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role))); } public boolean hasRoles(final String[] acceptedRoles) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java
assertEquals(basedir, new File(repo.getBasedir())); } @Test void testAuthenticationHandling() { Server server = new Server(); server.setId("repository"); server.setUsername("jason"); server.setPassword("abc123"); ArtifactRepository repository = repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} @Override void reset() { super.reset(); bufDataStart = 0; isPrimary = hasMore = true; parametersDone = dataDone = false; } @Override public boolean hasMoreElements() { return errorCode == 0 && hasMore; } @Override public Object nextElement() { if (isPrimary) { isPrimary = false; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/distributed/README.md
## Get started If you're aware of stand-alone MinIO set up, the process remains largely the same. MinIO server automatically switches to stand-alone or distributed mode, depending on the command line parameters. ### 1. Prerequisites Install MinIO either on Kubernetes or Distributed Linux.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
# Asynchrone Tests Sie haben bereits gesehen, wie Sie Ihre **FastAPI**-Anwendungen mit dem bereitgestellten `TestClient` testen. Bisher haben Sie nur gesehen, wie man synchrone Tests schreibt, ohne `async`hrone Funktionen zu verwenden.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (1) -
src/packaging/deb/init.d/fess
# Modified for Tomcat by Stefan Gybas <******@****.***>. # Modified for Tomcat6 by Thierry Carrez <******@****.***>. # Additional improvements by Jason Brittain <jason******@****.***>. # Modified by Nicolas Huray for Fess <******@****.***>. # ### BEGIN INIT INFO # Provides: fess # Required-Start: $network $remote_fs $named
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
systemHelper.setupAdminHtmlData(this, runtime); final Boolean editable = getUserBean().map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray()) || user.hasRole(getActionRole())) .orElse(false); runtime.registerData("editable", editable); runtime.registerData("editableClass", editable ? StringUtil.EMPTY : "disabled");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSet.java
* * <p><b>Warning:</b> The methods of {@code ForwardingSet} forward <b>indiscriminately</b> to the * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should * override {@code addAll} as well, either providing your own implementation, or delegating to the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0)