Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for teststring (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                try {
                    value = item.getString(encoding);
                    haveValue = true;
                } catch (final Exception e) {}
            }
            if (!haveValue) {
                try {
                    value = item.getString(Charset.forName("ISO-8859-1"));
                } catch (final java.io.UnsupportedEncodingException uee) {
                    value = item.getString();
                } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/BUILD

        deps = [
            ":c_api_macros_hdrs",
            "@local_xla//xla/tsl/c:tsl_status_headers",
        ],
    )
    
    cc_library(
        name = "tf_tstring",
        srcs = [
            "tf_tstring.cc",
        ],
        hdrs = [
            "tf_tstring.h",
        ],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros_hdrs",
            ":tf_datatype_hdrs",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Nov 02 06:47:06 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top