Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,366 for dwrite (0.12 sec)

  1. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/NonIncrementalProcessorFixture.groovy

            Writer writer = sourceFile.openWriter();
            try {
                writer.write("class " + className + " {");
                writer.write("    String getValue() { return \\"");
                writer.write("Hello World");
                writer.write("\\"; }");
                writer.write("}");
            } finally {
                writer.close();
            }
        } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerRegistryTest.groovy

                return decoder.readSmallLong()
            }
            write(_, _) >> { Encoder encoder, Long value ->
                encoder.writeSmallLong(value)
            }
        }
        def intSerializer = Stub(Serializer) {
            read(_) >> { Decoder decoder ->
                return decoder.readSmallInt()
            }
            write(_, _) >> { Encoder encoder, Integer value ->
                encoder.writeSmallInt(value)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. internal/deadlineconn/deadlineconn.go

    func (c *DeadlineConn) Read(b []byte) (n int, err error) {
    	c.setReadDeadline()
    	n, err = c.Conn.Read(b)
    	return n, err
    }
    
    // Write - writes data to the connection.
    func (c *DeadlineConn) Write(b []byte) (n int, err error) {
    	c.setWriteDeadline()
    	n, err = c.Conn.Write(b)
    	return n, err
    }
    
    // WithReadDeadline sets a new read side net.Conn deadline.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. docs/distributed/SIZING.md

    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

                output << "abcd"
                throw new RuntimeException("Simulated write error")
            }
    
            then:
            def ex = thrown RuntimeException
            ex.message == "Simulated write error"
            cacheDir.listFiles() as List == []
            0 * fileAccessTracker.markAccessed(_)
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializer.java

            for (Map.Entry<File, SourceFileState> entry : value.getFileStates().entrySet()) {
                SourceFileState sourceFileState = entry.getValue();
                fileSerializer.write(encoder, entry.getKey());
                hashSerializer.write(encoder, sourceFileState.getHash());
                encoder.writeBoolean(sourceFileState.isHasUnresolved());
                encoder.writeSmallInt(sourceFileState.getEdges().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/hash/maphash/maphash.go

    	if h.n == len(h.buf) {
    		h.flush()
    	}
    	h.buf[h.n] = b
    	h.n++
    	return nil
    }
    
    // Write adds b to the sequence of bytes hashed by h.
    // It always writes all of b and never fails; the count and error result are for implementing [io.Writer].
    func (h *Hash) Write(b []byte) (int, error) {
    	size := len(b)
    	// Deal with bytes left over in h.buf.
    	// h.n <= bufSize is always true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. pkg/proxy/util/linebuffer.go

    type LineBuffer interface {
    	// Write takes a list of arguments, each a string or []string, joins all the
    	// individual strings with spaces, terminates with newline, and writes them to the
    	// buffer. Any other argument type will panic.
    	Write(args ...interface{})
    
    	// WriteBytes writes bytes to the buffer, and terminates with newline.
    	WriteBytes(bytes []byte)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializer.java

        @Override
        public void write(Encoder encoder, HierarchicalClassLoaderStructure classLoaderStructure) throws Exception {
            if (classLoaderStructure.getParent() == null) {
                encoder.writeByte(ROOT);
            } else {
                encoder.writeByte(HAS_PARENT);
                write(encoder, classLoaderStructure.getParent());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_dragonfly.go

    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	return extpread(fd, p, 0, offset)
    }
    
    //sys	extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error)
    
    func pwrite(fd int, p []byte, offset int64) (n int, err error) {
    	return extpwrite(fd, p, 0, offset)
    }
    
    func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
    	var rsa RawSockaddrAny
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top