Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,172 for out (0.14 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        FileBackedOutputStream out = new FileBackedOutputStream(50);
        ByteSource source = out.asByteSource();
    
        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	RORIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SLLIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SRLIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SRAIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	RORIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SLLIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

      public void testCount() throws Exception {
        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ByteStreams.copy(in, out);
        in.close();
        out.close();
    
        assertTrue(source.wasStreamClosed());
        assertArrayEquals(bytes, out.toByteArray());
      }
    
      public void testSize() throws IOException {
        assertEquals(bytes.length, source.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  6. misc/cgo/gmp/fib.go

    	out := make(chan string)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	for i := 0; i < 200; i++ {
    		println(<-out)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Parent SCM URL is: " + project0.getScm().getUrl());
            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println();
            System.out.println("Parent SCM connection is: " + project0.getScm().getConnection());
            System.out.println("Child SCM connection is: " + project1.getScm().getConnection());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       *
       * @param out the stream to delegate to
       */
      public LittleEndianDataOutputStream(OutputStream out) {
        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        ByteStreams.copy(in, out);
        in.close();
        out.close();
    
        assertTrue(source.wasStreamClosed());
        assertArrayEquals(bytes, out.toByteArray());
      }
    
      public void testSize() throws IOException {
        assertEquals(bytes.length, source.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSourceTest.java

            }
    
            for (CharSink out : BROKEN_SINKS) {
              runFailureTest(newNormalCharSource(), out);
              assertTrue(logHandler.getStoredLogRecords().isEmpty());
    
              runFailureTest(BROKEN_CLOSE_SOURCE, out);
              assertEquals(1, getAndResetRecords(logHandler));
            }
    
            for (CharSource in : BROKEN_SOURCES) {
              for (CharSink out : BROKEN_SINKS) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top