Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,815 for gwrite (0.14 sec)

  1. src/os/file.go

    	return io.Copy(fileWithoutReadFrom{File: f}, r)
    }
    
    // Write writes len(b) bytes from b to the File.
    // It returns the number of bytes written and an error, if any.
    // Write returns a non-nil error when n != len(b).
    func (f *File) Write(b []byte) (n int, err error) {
    	if err := f.checkValid("write"); err != nil {
    		return 0, err
    	}
    	n, e := f.write(b)
    	if n < 0 {
    		n = 0
    	}
    	if n != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_cache.go

    		}
    	}
    	h.Write(Separator)
    
    	for _, vs := range r.DelegateVirtualServices {
    		h.Write(hashToBytes(vs))
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	for _, mergedDR := range r.DestinationRules {
    		for _, dr := range mergedDR.GetFrom() {
    			h.WriteString(dr.Name)
    			h.Write(Slash)
    			h.WriteString(dr.Namespace)
    			h.Write(Separator)
    		}
    	}
    	h.Write(Separator)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/runtime/mwbbuf.go

    // license that can be found in the LICENSE file.
    
    // This implements the write barrier buffer. The write barrier itself
    // is gcWriteBarrier and is implemented in assembly.
    //
    // See mbarrier.go for algorithmic details on the write barrier. This
    // file deals only with the buffer.
    //
    // The write barrier has a fast path and a slow path. The fast path
    // simply enqueues to a per-P write barrier buffer. It's written in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. 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)
  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-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)
  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. 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)
  9. 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)
  10. 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)
Back to top