- Sort Score
- Num 10 results
- Language All
Results 2151 - 2160 of 2,684 for catch (0.02 seconds)
-
tests/non_std_test.go
var animals []Animal DB.Find(&animals) if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) { t.Error("RowsAffected should be correct when do batch update") } animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone) DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelper.java
* mappings from FessConfig to handle cases where content-based detection * produces incorrect results (e.g., SQL files starting with REM comments * being misdetected as batch files). */ public class FessMimeTypeHelper extends MimeTypeHelperImpl { private static final Logger logger = LogManager.getLogger(FessMimeTypeHelper.class); /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 2.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java
import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.Optional; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * A transformation to to remove any warnings that match exactly. * If this removes all of the warnings, this will not remove the feature from the setup and/or teardown and will leave behind an empty array
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 15 08:50:42 GMT 2021 - 2.9K bytes - Click Count (0) -
schema/constraint.go
package schema import ( "regexp" "strings" "gorm.io/gorm/clause" ) // reg match english letters and midline var regEnLetterAndMidline = regexp.MustCompile(`^[\w-]+$`) type CheckConstraint struct { Name string Constraint string // length(phone) >= 10 *Field } func (chk *CheckConstraint) GetName() string { return chk.Name } func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Mar 18 07:33:54 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],10);return!(b>23||c>59)},errorMessage:"",errorMessageKey:"badTime"}),a.formUtils.addValidator({name:"birthdate",validatorFunction:function(c,d,e){var f="yy...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 1.6K bytes - Click Count (0) -
helm-releases/minio-3.1.3.tgz
cluster (LoadBalancer service). ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it. ## ref: http://kubernetes.io/docs/user-guide/services/ ## service: type: ClusterIP clusterIP: ~ ## Make sure to match it to minioAPIPort port: "9000" nodePort: 32000 ## Configure Ingress based on the documentation here: https://kubernetes.io/docs/concepts/services-networking/ingress/ ## ingress: enabled: false labels: {} # node-role.kubernetes.io/ingress: platform...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 18 18:09:59 GMT 2021 - 14.4K bytes - Click Count (0) -
helm-releases/minio-3.0.0.tgz
cluster (LoadBalancer service). ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it. ## ref: http://kubernetes.io/docs/user-guide/services/ ## service: type: ClusterIP clusterIP: ~ ## Make sure to match it to minioAPIPort port: "9000" nodePort: 32000 ## Configure Ingress based on the documentation here: https://kubernetes.io/docs/concepts/services-networking/ingress/ ## ingress: enabled: false labels: {} # node-role.kubernetes.io/ingress: platform...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 02 01:47:43 GMT 2021 - 13.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/boostdoc/CreateForm.java
public CreateForm() { // Default constructor } /** CRUD operation mode (CREATE, EDIT, etc.) */ @ValidateTypeFailure public Integer crudMode; /** URL expression pattern to match documents for boosting */ @Required @Size(max = 10000) public String urlExpr; /** Boost expression to apply to matching documents */ @Required @Size(max = 10000)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
/** * Prefix used to identify regex patterns in related content terms. * When a term starts with this prefix, it is treated as a regular expression * pattern rather than an exact match term. */ protected String regexPrefix = "regex:"; /** * Placeholder string used in regex-based related content templates. * This placeholder is replaced with the actual search query whenCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Create a new FileBasicInfo and decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes // Verify the values match after round-trip assertEquals(TEST_CREATE_TIME, decoded.getCreateTime()); assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime()); assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)