- Sort Score
- Num 10 results
- Language All
Results 2821 - 2830 of 5,670 for string (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/submodel_test.go
package tests_test import ( "testing" "gorm.io/gorm" ) type Man struct { ID int Age int Name string Detail string } // Panic-safe BeforeUpdate hook that checks for Changed("age") func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) { if !tx.Statement.Changed("age") { return nil } return nil } func TestSubModel(t *testing.T) { man := Man{Age: 18, Name: "random-name"}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 947 bytes - Click Count (0) -
internal/http/listener.go
NoDelay bool // Indicates callers to enable TCP_NODELAY on the net.Conn Interface string // This is a VRF device passed via `--interface` flag Trace func(msg string) // Trace when starting. IdleTimeout time.Duration // Incoming TCP read/write timeout } // ForWebsocket returns TCPOptions valid for websocket net.Conn
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
<version>1.0.0+</version> <type>String</type> <description>The ID of this phase, e.g., {@code generate-sources}.</description> </field> <field xml.attribute="true"> <name>executionPoint</name> <required>false</required> <version>2.0.0+</version> <type>String</type> <defaultValue><![CDATA[]]></defaultValue>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java
*/ @Required @Size(max = 10000) public String term; /** * The related content to be displayed. */ @Required @Size(max = 10000) public String content; /** * The virtual host for which this related content applies. */ @Size(max = 1000) public String virtualHost; /**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) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
assertNull(source.getPath(), "Resolved sources should return null for getPath()"); assertEquals(path.toString(), source.getLocation()); } @Test void testModelIdFormat() { String location = "/tmp/test.xml"; Path path = Paths.get(location); String modelId = "com.example:test-artifact:1.2.3"; ModelSource source = Sources.resolvedSource(path, modelId);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
xlMeta.Stat = StatInfo{ Size: int64(20), ModTime: UTCNow(), } // Set meta data. xlMeta.Meta = make(map[string]string) xlMeta.Meta["testKey1"] = "val1" xlMeta.Meta["testKey2"] = "val2" return xlMeta } func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) { checksum, err := hex.DecodeString(hash) if err != nil { panic(err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt
import java.net.URI import java.net.http.HttpClient import java.net.http.HttpRequest import java.net.http.HttpResponse private data class GradleServicesVersion(val version: String, val buildTime: String) @DisableCachingByDefault(because = "Not worth caching") abstract class PreparePatchRelease : DefaultTask() { @get:Internal abstract val versionFile: RegularFileProperty
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java
final File outputDir = new File(project.getBuildDir(), "/generated-test-resources/" + pluginProject.getName()); String camelProjectName = stream(pluginProject.getName().split("-")).map(t -> StringUtils.capitalize(t)) .collect(Collectors.joining()); String taskName = "copy" + camelProjectName + "Metadata"; project.getTasks().register(taskName, Copy.class, copy -> { copy.into(outputDir);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
* @param name * The name of the property to be set. Must not be {@literal null} or an empty string. * @param value * The value of the property to be set. */ public static void setProperty(final SAXParser parser, final String name, final String value) { assertArgumentNotNull("parser", parser); assertArgumentNotEmpty("name", name); try {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
* * @author Kurt Alfred Kluever */ @NullUnmarked public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.8K bytes - Click Count (0)