Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,375 for dwrite (0.11 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            }
    
            @Override
            public void write(Encoder encoder, DefaultNestedTestSuiteDescriptor value) throws Exception {
                idSerializer.write(encoder, (CompositeIdGenerator.CompositeId) value.getId());
                encoder.writeString(value.getName());
                encoder.writeString(value.getDisplayName());
                idSerializer.write(encoder, value.getParentId());
            }
        }
    
        @NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    }
    
    func Getppid() (ppid int) {
    	n, _ := readnum("#c/ppid")
    	return int(n)
    }
    
    func Read(fd int, p []byte) (n int, err error) {
    	return Pread(fd, p, -1)
    }
    
    func Write(fd int, p []byte) (n int, err error) {
    	return Pwrite(fd, p, -1)
    }
    
    var ioSync int64
    
    //sys	fd2path(fd int, buf []byte) (err error)
    
    func Fd2path(fd int) (path string, err error) {
    	var buf [512]byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/streams/DefaultValueStoreTest.groovy

            store?.close()
        }
    
        def "can write and then read a block multiple times"() {
            expect:
            def block = write("test")
            read(block) == "test"
            read(block) == "test"
            read(block) == "test"
        }
    
        def "can write multiple blocks and read in any order"() {
            expect:
            def block1 = write("test 1")
            def block2 = write("test 2")
            def block3 = write("test 3")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. internal/s3select/genmessage.go

    	prelude := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	message := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(message))
    
    	fmt.Println(buf.Bytes())
    }
    
    func genProgressHeader() {
    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                write(buffer.toStringAndRecycle())
            }
        }
    
        private
        fun comma() {
            write(',')
        }
    
        private
        fun documentationLinkFor(section: DocumentationSection) =
            documentationRegistry.documentationLinkFor(section)
    
        private
        fun write(csq: CharSequence) = writer.append(csq)
    
        private
        fun write(c: Char) = writer.append(c)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        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));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

                    .build());
        }
    
        default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).writer(writer).build());
        }
    
        void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException;
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

      Node* read = MakeRead(root, "R");
      Node* write = MakeWrite(root, "W");
    
      root.graph()->AddControlEdge(write, read);
    
      std::vector<std::pair<int, int>> incompatible_pairs;
      TF_ASSERT_OK(ComputeIncompatiblePairs(root.graph(), &incompatible_pairs));
    
      ASSERT_EQ(incompatible_pairs.size(), 1);
      std::pair<int, int> write_read_pair = {write->id(), read->id()};
      EXPECT_EQ(incompatible_pairs[0], write_read_pair);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer_test.go

    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    			debugln("WRITE 4\t", n, wroteBytes)
    
    			// TryWriteByte
    			err = rb.TryWriteByte(buf[0])
    			if err != nil && err != ErrAcquireLock && err != ErrTooMuchDataToWrite && err != ErrIsFull {
    				t.Fatalf("write failed: %v", err)
    			}
    			if err == nil {
    				wroteBytes++
    				wrote.Write(buf[:1])
    				debugln("WRITE 5\t", 1, wroteBytes)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top