- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for teststring (0.13 sec)
-
src/bytes/buffer_test.go
buf.Truncate(20) check(t, "TestBasicOperations (8)", &buf, testString[0:20]) empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5)) empty(t, "TestBasicOperations (10)", &buf, "", make([]byte, 100)) buf.WriteByte(testString[1]) c, err := buf.ReadByte() if want := testString[1]; err != nil || c != want { t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, want, nil) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testSkipFully() throws IOException { String testString = "abcdef"; Reader reader = new StringReader(testString); assertEquals(testString.charAt(0), reader.read()); CharStreams.skipFully(reader, 1); assertEquals(testString.charAt(2), reader.read()); CharStreams.skipFully(reader, 2); assertEquals(testString.charAt(5), reader.read()); assertEquals(-1, reader.read()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testSkipFully() throws IOException { String testString = "abcdef"; Reader reader = new StringReader(testString); assertEquals(testString.charAt(0), reader.read()); CharStreams.skipFully(reader, 1); assertEquals(testString.charAt(2), reader.read()); CharStreams.skipFully(reader, 2); assertEquals(testString.charAt(5), reader.read()); assertEquals(-1, reader.read()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
internal/etag/etag_test.go
String: "20000f00db2d90a7b40782d4cff2b41a7799fc1e7ead25972db65150118dfbe2ba76a3c002da28f85c840cd2001a28a9", }, } func TestString(t *testing.T) { for i, test := range stringTests { s := test.ETag.String() if s != test.String { t.Fatalf("Test %d: got %s - want %s", i, s, test.String) } } } var equalTests = []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Oct 23 13:27:21 UTC 2024 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.getString("response.id"); } protected static List<String> getWebConfigIds(final String namePrefix) { final String response = getJsonResponse("/api/admin/webconfig/settings");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/c/BUILD
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Nov 02 06:47:06 UTC 2024 - 30.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @throws IllegalAccessRuntimeException * {@link IllegalAccessException}が発生した場合 * @see #getString(Field, Object) */ public static String getString(final Field field) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); return getString(field, null); } /** * {@link Field}の値を {@link String}として取得します。 * * @param field
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/s3select/sql/value.go
} // Fallback to string sA := a.bytesToString() sB := b.bytesToString() a.setString(sA) b.setString(sB) return nil case okA && !okB: // Here a has `a` is untyped, but `b` has a fixed // type. switch b.value.(type) { case string: s := a.bytesToString() a.setString(s) case int64, float64: if iA, ok := a.bytesToInt(); ok { a.setInt(iA)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
schema/field.go
if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetString(**data) } case string: field.ReflectValueOf(ctx, value).SetString(data) case []byte: field.ReflectValueOf(ctx, value).SetString(string(data)) case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64: field.ReflectValueOf(ctx, value).SetString(utils.ToString(data)) case float64, float32:
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0)