Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 155 for 0xfffa (0.04 sec)

  1. src/bytes/bytes_test.go

    	{" ", []rune{32}, false},
    	{"ABC", []rune{65, 66, 67}, false},
    	{"abc", []rune{97, 98, 99}, false},
    	{"\u65e5\u672c\u8a9e", []rune{26085, 26412, 35486}, false},
    	{"ab\x80c", []rune{97, 98, 0xFFFD, 99}, true},
    	{"ab\xc0c", []rune{97, 98, 0xFFFD, 99}, true},
    }
    
    func TestRunes(t *testing.T) {
    	for _, tt := range RunesTests {
    		tin := []byte(tt.in)
    		a := Runes(tin)
    		if !slices.Equal(a, tt.out) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. internal/event/config_test.go

    		{string([]byte{0xff, 0xfe, 0xfd}), true},
    		{`foo\bar`, true},
    		{"Hello/世界", false},
    	}
    
    	for i, testCase := range testCases {
    		err := ValidateFilterRuleValue(testCase.value)
    		expectErr := (err != nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int ATTR_COMPRESSED       = 0x800;
        static final int ATTR_NORMAL           = 0x080;
        static final int ATTR_TEMPORARY        = 0x100;
    
        static final int ATTR_GET_MASK = 0x7FFF; /* orig 0x7fff */
        static final int ATTR_SET_MASK = 0x30A7; /* orig 0x0027 */
    
        static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        static final int HASH_DOT     = ".".hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

      }
    
      static final int LAST_COLOR_ADDED = 0x00BFFF;
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        // javac won't compile this without "this.<Integer>"
        ImmutableSet.Builder<Integer> webSafeColorsBuilder = this.<Integer>builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static char fromBytes(byte b1, byte b2) {
        return (char) ((b1 << 8) | (b2 & 0xFF));
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
       * specified minimum length. If {@code array} already has a length of at least {@code minLength},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static short fromBytes(byte b1, byte b2) {
        return (short) ((b1 << 8) | (b2 & 0xFF));
      }
    
      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 7.0
       */
      @GwtIncompatible // doesn't work
      public static short fromBytes(byte b1, byte b2) {
        return (short) ((b1 << 8) | (b2 & 0xFF));
      }
    
      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        b.set(0, "f");
        assertEquals(asList("a", "b", "c", "d"), list);
      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
            for (Integer blue : colorElem) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
      public void testToString() {
        assertThat(base64().toString()).isEqualTo("BaseEncoding.base64().withPadChar('=')");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

     * will never change.
     *
     * @see java.io.File
     */
    
    public class SmbFile extends URLConnection implements SmbResource, SmbConstants {
        protected static final int ATTR_GET_MASK = 0x7FFF;
        protected static final int ATTR_SET_MASK = 0x30A7;
        protected static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        protected static final int HASH_DOT = ".".hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top