Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 4,308 for gwrite (0.33 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/splice_test.go

    		},
    		{
    			name: "Write/Splice, Reset, Write/Splice",
    			run: func(sb runtime.Splice, buf *bytes.Buffer) {
    				sb.Splice(testBytes0)
    				buf.Write(testBytes0)
    
    				sb.Reset()
    				buf.Reset()
    
    				sb.Splice(testBytes1)
    				buf.Write(testBytes1)
    			},
    		},
    		{
    			name: "Write, Reset, Splice",
    			run: func(sb runtime.Splice, buf *bytes.Buffer) {
    				sb.Write(testBytes0)
    				buf.Write(testBytes0)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/dist/testjson_test.go

    			const b1 = 5
    			const b2 = len(in) - 5
    			f.Write([]byte(in[:b1]))
    			f.Write([]byte(in[b1:b2]))
    			f.Write([]byte(in[b2:]))
    		})
    	})
    }
    
    func checkJSONFilter(t *testing.T, in, want string) {
    	t.Helper()
    	checkJSONFilterWith(t, want, func(f *testJSONFilter) {
    		f.Write([]byte(in))
    	})
    }
    
    func checkJSONFilterWith(t *testing.T, want string, write func(*testJSONFilter)) {
    	t.Helper()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 20:13:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/BuildCacheOutputOriginIntegrationTest.groovy

            then:
            skipped ":write"
            with(origin(":write")) {
                buildInvocationId == thirdBuildId
                buildCacheKey == thirdBuildCacheKey
            }
    
            when:
            succeeds  "write"
    
            then:
            skipped ":write"
            originBuildInvocationId(":write") == thirdBuildId
    
            when:
            succeeds  "write"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 14:10:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top