Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,308 for gwrite (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

                            out.write('\\');
                            out.write('n');
                            break;
                        case '\t':
                            out.write('\\');
                            out.write('t');
                            break;
                        case '\f':
                            out.write('\\');
                            out.write('f');
                            break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/nettest/conntest.go

    	checkForTimeoutError(t, err)
    	if _, err := c1.Write(make([]byte, 1024)); err != nil {
    		t.Errorf("unexpected Write error: %v", err)
    	}
    }
    
    // testWriteTimeout tests that Write timeouts do not affect Read.
    func testWriteTimeout(t *testing.T, c1, c2 net.Conn) {
    	go chunkedCopy(c2, rand.New(rand.NewSource(0)))
    
    	c1.SetWriteDeadline(aLongTimeAgo)
    	_, err := c1.Write(make([]byte, 1024))
    	checkForTimeoutError(t, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/runtime/profbuf_test.go

    	})
    
    	t.Run("ReadMany", func(t *testing.T) {
    		b := NewProfBuf(2, 50, 50)
    		write(t, b, unsafe.Pointer(&myTags[0]), 1, []uint64{2, 3}, []uintptr{4, 5, 6, 7, 8, 9})
    		write(t, b, unsafe.Pointer(&myTags[2]), 99, []uint64{101, 102}, []uintptr{201, 202, 203, 204})
    		write(t, b, unsafe.Pointer(&myTags[1]), 500, []uint64{502, 504}, []uintptr{506})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 20:04:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java

    import java.io.IOException;
    import java.io.Writer;
    import java.util.Collection;
    import java.util.Iterator;
    
    public class JavadocOptionFileWriterContext {
        private final Writer writer;
    
        public JavadocOptionFileWriterContext(Writer writer) {
            this.writer = writer;
        }
    
        public JavadocOptionFileWriterContext write(String string) throws IOException {
            writer.write(string);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/os/pipe_test.go

    		// 232 is Windows error code ERROR_NO_DATA, "The pipe is being closed".
    		expect = syscall.Errno(232)
    	}
    	// Every time we write to the pipe we should get an EPIPE.
    	for i := 0; i < 20; i++ {
    		_, err = w.Write([]byte("hi"))
    		if err == nil {
    			t.Fatal("unexpected success of Write to broken pipe")
    		}
    		if pe, ok := err.(*fs.PathError); ok {
    			err = pe.Err
    		}
    		if se, ok := err.(*os.SyscallError); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileOutputStream.java

            this.file = file;
        }
    
        @Override
        public void write(int i) throws IOException {
            file.write(i);
        }
    
        @Override
        public void write(byte[] bytes) throws IOException {
            file.write(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int offset, int length) throws IOException {
            file.write(bytes, offset, length);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. internal/crypto/key.go

    		mac := hmac.New(sha256.New, extKey)
    		mac.Write(sealedKey.IV[:])
    		mac.Write([]byte(domain))
    		mac.Write([]byte(SealAlgorithm))
    		mac.Write([]byte(path.Join(bucket, object))) // use path.Join for canonical 'bucket/object'
    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top