Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,292 for Written (0.11 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

            write(original)
    
            expect:
            original == written
        }
    
        def "serializes string properties"() {
            def original = string("x")
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes number properties"() {
            write(value)
    
            expect:
            value == written
    
            where:
            value                                   | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        counter.write(data);
        written += 10;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(data, 0, 5);
        written += 5;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(data, 2, 5);
        written += 5;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/serialize.go

    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    
    		n, err = fmt.Fprintf(bw, "%d %d\n", edge.CallSiteOffset, weight)
    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    	}
    
    	if err := bw.Flush(); err != nil {
    		return written, err
    	}
    
    	// No need to serialize TotalWeight, it can be trivially recomputed
    	// during parsing.
    
    	return written, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    	expectedStatusCode := 201
    	assert.False(t, trw.written, "Written field originally false in delegate response writer")
    	trw.WriteHeader(expectedStatusCode)
    	assert.Equal(t, expectedStatusCode, trw.w.(*mockResponseWriter).statusCode, "Expected written status code is correct")
    	assert.True(t, trw.written, "Written field set to true after writing delegate response writer")
    	// Response writer already written to does not write status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java

         */
        void skipBytes(long count) throws EOFException, IOException;
    
        /**
         * Reads a byte stream written using {@link Encoder#encodeChunked(Encoder.EncodeAction)}.
         */
        <T> T decodeChunked(DecodeAction<Decoder, T> decodeAction) throws EOFException, Exception;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/net/splice_linux.go

    		s = v.fd
    	case *UnixConn:
    		if v.fd.net != "unix" {
    			return 0, nil, false
    		}
    		s = v.fd
    	default:
    		return 0, nil, false
    	}
    
    	written, handled, err = pollSplice(&c.pfd, &s.pfd, remain)
    	if lr != nil {
    		lr.N -= written
    	}
    	return written, wrapSyscallError("splice", err), handled
    }
    
    // spliceTo transfers data from c to w using the splice system call to minimize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/poll/sendfile_windows.go

    package poll
    
    import (
    	"io"
    	"syscall"
    )
    
    // SendFile wraps the TransmitFile call.
    func SendFile(fd *FD, src syscall.Handle, n int64) (written int64, err error) {
    	defer func() {
    		TestHookDidSendFile(fd, 0, written, err, written > 0)
    	}()
    	if fd.kind == kindPipe {
    		// TransmitFile does not work with pipes
    		return 0, syscall.ESPIPE
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/os/zero_copy_linux.go

    	if pfd == nil || !pfd.IsStream {
    		return
    	}
    
    	written, handled, err = pollSplice(&f.pfd, pfd, remain)
    
    	if lr != nil {
    		lr.N = remain - written
    	}
    
    	return written, handled, wrapSyscallError("splice", err)
    }
    
    func (f *File) copyFileRange(r io.Reader) (written int64, handled bool, err error) {
    	var (
    		remain int64
    		lr     *io.LimitedReader
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. pkg/kube/controllers/common_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestEnqueueForParentHandler(t *testing.T) {
    	var written atomic.String
    	q := NewQueue("test", WithReconciler(func(key types.NamespacedName) error {
    		t.Logf("got event %v", key)
    		written.Store(key.String())
    		return nil
    	}))
    	go q.Run(test.NewStop(t))
    	handler := EnqueueForParentHandler(q, gvk.Deployment)
    	handler(&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 15 15:34:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/GenerateMavenPom.java

        }
    
        /**
         * The file the POM will be written to.
         *
         * @return The file the POM will be written to
         */
        @OutputFile
        public File getDestination() {
            return destination == null ? null : getFileResolver().resolve(destination);
        }
    
        /**
         * Sets the destination the descriptor will be written to.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top