Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 93 for appendRule (0.21 sec)

  1. src/unicode/utf16/utf16_test.go

    		}
    	}
    }
    
    func TestAppendRune(t *testing.T) {
    	for _, tt := range encodeTests {
    		var out []uint16
    		for _, u := range tt.in {
    			out = AppendRune(out, u)
    		}
    		if !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("AppendRune(%x) = %x; want %x", tt.in, out, tt.out)
    		}
    	}
    }
    
    func TestEncodeRune(t *testing.T) {
    	for i, tt := range encodeTests {
    		j := 0
    		for _, r := range tt.in {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       * Does not close {@code appendable} if it is {@code Closeable}.
       *
       * @return the number of characters copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
       *     appendable}
       */
      @CanIgnoreReturnValue
      public long copyTo(Appendable appendable) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/JoinerTest.java

          throw new AssertionError(e);
        }
      }
    
      private static final Appendable NASTY_APPENDABLE =
          new Appendable() {
            @Override
            public Appendable append(@Nullable CharSequence csq) throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

          }
        };
      }
    
      static Appendable separatingAppendable(
          Appendable delegate, String separator, int afterEveryChars) {
        checkNotNull(delegate);
        checkNotNull(separator);
        checkArgument(afterEveryChars > 0);
        return new Appendable() {
          int charsUntilSeparator = afterEveryChars;
    
          @Override
          public Appendable append(char c) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/JoinerTest.java

          throw new AssertionError(e);
        }
      }
    
      private static final Appendable NASTY_APPENDABLE =
          new Appendable() {
            @Override
            public Appendable append(@Nullable CharSequence csq) throws IOException {
              throw new IOException();
            }
    
            @Override
            public Appendable append(@Nullable CharSequence csq, int start, int end)
                throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/BaseEncoding.java

          }
        };
      }
    
      static Appendable separatingAppendable(
          Appendable delegate, String separator, int afterEveryChars) {
        checkNotNull(delegate);
        checkNotNull(separator);
        checkArgument(afterEveryChars > 0);
        return new Appendable() {
          int charsUntilSeparator = afterEveryChars;
    
          @Override
          public Appendable append(char c) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiConsole.java

        private final AnsiExecutor ansiExecutor;
    
        public AnsiConsole(Appendable target, Flushable flushable, ColorMap colorMap, ConsoleMetaData consoleMetaData, boolean forceAnsi) {
            this(target, flushable, colorMap, consoleMetaData, new DefaultAnsiFactory(forceAnsi));
        }
    
        private AnsiConsole(Appendable target, Flushable flushable, ColorMap colorMap, ConsoleMetaData consoleMetaData, AnsiFactory factory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    	defer os.Remove(name2)
    	f.WriteString("bbbbbbbbbb")
    	f.Close()
    
    	if err = AppendFile(name1, name2, false); err != nil {
    		t.Error(err)
    	}
    
    	b, err := os.ReadFile(name1)
    	if err != nil {
    		t.Error(err)
    	}
    
    	expected := "aaaaaaaaaabbbbbbbbbb"
    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-services/src/main/java/org/gradle/configuration/DefaultBuildClientMetaData.java

        private final GradleLauncherMetaData delegate;
    
        public DefaultBuildClientMetaData(GradleLauncherMetaData delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public void describeCommand(Appendable output, String... args) {
            delegate.describeCommand(output, args);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:55:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) decomposeHangul(r rune) {
    	r -= hangulBase
    	x := r % jamoTCount
    	r /= jamoTCount
    	rb.appendRune(jamoLBase + r/jamoVCount)
    	rb.appendRune(jamoVBase + r%jamoVCount)
    	if x != 0 {
    		rb.appendRune(jamoTBase + x)
    	}
    }
    
    // combineHangul algorithmically combines Jamo character components into Hangul.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top