- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 5,520 for AsString (0.15 sec)
-
tests/serializer_test.go
} type Roles []string type Job struct { Title string Number int Location string IsIntern bool } type EncryptedString string func (es *EncryptedString) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) { switch value := dbValue.(type) { case []byte: *es = EncryptedString(bytes.TrimPrefix(value, []byte("hello"))) case string:
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
import okio.Buffer import okio.BufferedSink class FormBody internal constructor( encodedNames: List<String>, encodedValues: List<String>, ) : RequestBody() { private val encodedNames: List<String> = encodedNames.toImmutableList() private val encodedValues: List<String> = encodedValues.toImmutableList() /** The number of key-value pairs in this form-encoded body. */ @get:JvmName("size")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertArrayEquals(new String[] { "a", "b" }, ArrayUtil.asArray("a", "b")); assertArrayEquals(new Integer[] { 1, 2 }, ArrayUtil.asArray(1, 2)); } /** * @throws Exception */ @Test public void testAddAll() throws Exception { final String[] array = new String[] { "111" }; final String[] newArray = ArrayUtil.add(array, "222");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
return artifact; } private Artifact createTestArtifact(String directory, String type) throws IOException { return createTestArtifact(directory, "1.0", type); } private Artifact createTestArtifact(String directory, String version, String type) throws IOException { File testData = getTestFile(directory); FileUtils.deleteDirectory(testData);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
@Param({"Array", "Priority"}) String queueType; @Param boolean useMonitor; private BlockingQueue<String> queue; private String[] strings; @BeforeExperiment @SuppressWarnings("unchecked") void setUp() throws Exception { String prefix = (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."); String className = prefix + queueType + "BlockingQueue";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
class TestArtifactHandler implements ArtifactHandler { private String type; private String extension; public TestArtifactHandler(String type) { this(type, type); } public TestArtifactHandler(String type, String extension) { this.type = type; this.extension = extension; } @Override public String getClassifier() { return null; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/config/errors-utils.go
type Err struct { msg string detail string action string hint string } // Clone returns a new Err struct with the same information func (u Err) Clone() Err { return Err{ msg: u.msg, detail: u.detail, action: u.action, hint: u.hint, } } // Error returns the error message func (u Err) Error() string { if u.detail == "" { if u.msg != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java
} return rawType; } public String getSignature() { final StringBuilder builder = new StringBuilder(); visitSignature(new SignatureVisitor() { @Override public void visitText(String text) { builder.append(text); } @Override public void visitType(String name) { builder.append(name);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.1K bytes - Viewed (0) -
cmd/utils_test.go
} } func TestLCP(t *testing.T) { testCases := []struct { prefixes []string commonPrefix string }{ {[]string{"", ""}, ""}, {[]string{"a", "b"}, ""}, {[]string{"a", "a"}, "a"}, {[]string{"a/", "a/"}, "a/"}, {[]string{"abcd/", ""}, ""}, {[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"}, {[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"}, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
) // TargetID - holds identification and name strings of notification target. type TargetID struct { ID string Name string } // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.8K bytes - Viewed (0)