- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,075 for found (0.03 sec)
-
chainable_api.go
// // Attrs only adds attributes if the record is not found. // // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign an email if the record is not found, otherwise ignore provided email
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
misc/chrome/gophertool/background.html
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Oct 08 00:56:10 UTC 2012 - 265 bytes - Viewed (0) -
schema/constraint_test.go
Constraint: "name <> 'jinzhu'", }, } checks := user.ParseCheckConstraints() for k, result := range results { v, ok := checks[k] if !ok { t.Errorf("Failed to found check %v from parsed checks %+v", k, checks) } for _, name := range []string{"Name", "Constraint"} { if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java
/** * Retrieves a specific related query by its unique identifier. * * @param id the unique identifier of the related query to retrieve * @return an OptionalEntity containing the RelatedQuery if found, or empty if not found */ public OptionalEntity<RelatedQuery> getRelatedQuery(final String id) { return relatedQueryBhv.selectByPK(id); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
len += 2; if (len > 256) { throw new RuntimeException("zero termination not found"); } } server.oemDomainName = new String(buffer, bufferIndex, len, UNI_ENCODING); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package lex implements lexical analysis for the assembler. package lex import ( "fmt" "log" "os" "strings" "text/scanner" "cmd/internal/src" ) // A ScanToken represents an input item. It is a simple wrapping of rune, as
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
if (!baseDir.isDirectory()) { throw new FessSystemException("Not found: " + baseDir.getAbsolutePath()); } } }; try { manager.init(); fail(); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Not found")); } } // Test getThumbnailPathOption
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
} /** * Retrieves a stopwords file for a given dictionary ID. * * @param dictId The ID of the dictionary. * @return An optional entity containing the stopwords file, or empty if not found. */ public OptionalEntity<StopwordsFile> getStopwordsFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(StopwordsFile.class::isInstance)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
} /** * Retrieves a synonym file for a given dictionary ID. * * @param dictId The ID of the dictionary. * @return An optional entity containing the synonym file, or empty if not found. */ public OptionalEntity<SynonymFile> getSynonymFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(SynonymFile.class::isInstance)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.5K bytes - Viewed (0) -
tests/upsert_test.go
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) if user6.Name != "find or init" || user6.ID == 0 || user6.Age != 33 { t.Errorf("user should be found with FirstOrInit") } DB.Where(&User{Name: "find or init"}).Assign(User{Age: 44}).FirstOrInit(&user6)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0)