- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 31 for has_one (0.12 seconds)
-
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
@Override public void reset() { super.reset(); this.bufDataStart = 0; this.isPrimary = this.hasMore = true; this.parametersDone = this.dataDone = false; } @Override public boolean hasMoreElements() { return this.errorCode == 0 && this.hasMore; } @Override public SmbComTransactionResponse nextElement() { if (this.isPrimary) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.9K bytes - Click Count (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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
} @Override void reset() { super.reset(); isPrimary = hasMore = true; } void reset(final int key, final String lastName) { reset(); } @Override public boolean hasMoreElements() { return hasMore; } @Override public Object nextElement() { if (isPrimary) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.4K bytes - Click Count (0) -
association.go
} func (association *Association) Append(values ...interface{}) error { values = expandValues(values) if association.Error == nil { switch association.Relationship.Type { case schema.HasOne, schema.BelongsTo: if len(values) > 0 { association.Error = association.Replace(values...) } default: association.saveAssociation( /*clear*/ false, values...) } } return association.Error
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
static final int ONE_WAY_TRANSACTION = 0x02; static final int PADDING_SIZE = 4; private final int tflags = 0x00; private int pad1 = 0; private int pad2 = 0; private boolean hasMore = true; private boolean isPrimary = true; private int bufParameterOffset; private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/callhome.go
DeploymentID: globalDeploymentID(), }, }, } go fetchHealthInfo(healthCtx, objectAPI, &query, healthInfoCh, healthInfo) for { select { case hi, hasMore := <-healthInfoCh: if !hasMore { auditOptions := AuditLogOptions{Event: "callhome:diagnostics"} // Received all data. Send to SUBNET and return err := sendHealthInfo(ctx, healthInfo) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
response.setTestErrorCode(1); // Non-zero errorCode indicates error assertFalse(response.hasMoreElements()); // Reset error and test hasMore flag response.setTestErrorCode(0); response.hasMore = false; assertFalse(response.hasMoreElements()); } @Test @DisplayName("Test reset functionality") void testReset() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
void testHasMoreElements() { // Initially should have more elements if error code is 0 assertTrue(response.hasMoreElements()); // After calling nextElement once, isPrimary becomes false but hasMore is still true initially response.nextElement(); // Can still have more elements assertTrue(response.hasMoreElements()); } @Test @DisplayName("Test reset method")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (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()Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.8K bytes - Click Count (0)