- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for Attrs (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
chainable_api.go
// db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "jinzhu", Age: 20} // // [FirstOrCreate]: https://gorm.io/docs/advanced_query.html#FirstOrCreate // [FirstOrInit]: https://gorm.io/docs/advanced_query.html#FirstOrInit func (db *DB) Attrs(attrs ...interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.attrs = attrs return }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
public FileInfo(String name, SmbFileAttributes attrs) { this.name = name; this.size = attrs.getSize(); this.lastModified = attrs.getLastWriteTime(); this.isDirectory = attrs.isDirectory(); this.attributes = attrs.getAttributes(); this.creationTime = attrs.getCreateTime(); this.lastAccessTime = attrs.getLastAccessTime(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
final int access, final int attrs, final int options, final long initialSize) { this.cfg = cfg; this.fileId = fid; this.initialSize = initialSize; this.fid = 0; this.unc = unc; this.flags = flags; this.access = access; this.attrs = attrs; this.options = options; this.tree = tree.acquire();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
tests/upsert_test.go
t.Errorf("user should be initialized with search value and assign attrs") } DB.Save(&User{Name: "find or init", Age: 33}) DB.Where(&User{Name: "find or init"}).Attrs("age", 44).FirstOrInit(&user5) if user5.Name != "find or init" || user5.ID == 0 || user5.Age != 33 { t.Errorf("user should be found and not initialized by Attrs") } DB.Where(&User{Name: "find or init", Age: 33}).FirstOrInit(&user6)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
try { return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | (alsoRead ? SmbConstants.FILE_READ_DATA : 0), SmbConstants.FILE_NO_SHARE, attrs, 0); } catch (final SmbAuthException sae) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
docs/en/docs/js/termynal.js
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 10:32:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(handle); int attrs = SmbConstants.ATTR_NORMAL; // Act SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead); // Assert assertSame(handle, result, "Should return handle from dest.openUnshared");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
private var seenManifest: Boolean = false override fun preVisitDirectory(dir: Path?, attrs: BasicFileAttributes?) = FileVisitResult.CONTINUE override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult { when { file.isClassFilePath() -> {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
* * @param attrs * The attributes. Must not be {@literal null}. * @param buf * The string buffer. Must not be {@literal null}. */ public static void appendAttrs(final NamedNodeMap attrs, final StringBuilder buf) { assertArgumentNotNull("attrs", attrs); assertArgumentNotNull("buf", buf);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
schema/schema_test.go
type User struct { tests.User Attrs map[string]string `gorm:"type:Map(String,String);"` } user, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user with map, got error %v", err) } if field := user.FieldsByName["Attrs"]; field.DataType != "Map(String,String)" { t.Errorf("failed to parse user field Attrs") } }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0)