Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,366 for dwrite (0.14 sec)

  1. src/net/rawconn_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			called := false
    			op := func(uintptr) bool {
    				called = true
    				return true
    			}
    			err = cc.Write(op)
    			if err == nil {
    				t.Error("Write should return an error")
    			}
    			if called {
    				t.Error("Write shouldn't call op")
    			}
    			called = false
    			err = cc.Read(op)
    			if err == nil {
    				t.Error("Read should return an error")
    			}
    			if called {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/BooleanJavadocOptionFileOptionTest.groovy

        def testWriteNullValue() {
            when:
            booleanOption.write(writerContextMock)
    
            then:
            0 * _._
        }
    
        def testWriteFalseValue() throws IOException {
            booleanOption.setValue(false)
    
            when:
            booleanOption.write(writerContextMock)
    
            then:
            0 * _._
        }
    
        def testWriteTrueValue() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestResultSerializer.java

            this.resultsFile = new File(resultsDir, "results.bin");
        }
    
        public void write(Collection<TestClassResult> results) {
            try {
                OutputStream outputStream = new FileOutputStream(resultsFile);
                try {
                    if (!results.isEmpty()) { // only write if we have results, otherwise truncate
                        FlushableEncoder encoder = new KryoBackedEncoder(outputStream);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. src/runtime/atomic_pointer.go

    // because while ptr does not escape, new does.
    // If new is marked as not escaping, the compiler will make incorrect
    // escape analysis decisions about the pointer value being stored.
    
    // atomicwb performs a write barrier before an atomic pointer write.
    // The caller should guard the call with "if writeBarrier.enabled".
    //
    // atomicwb should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    	// Try to stop the kubelet service so no race conditions occur when configuring it
    	if !data.DryRun() {
    		klog.V(1).Infoln("Stopping the kubelet")
    		kubeletphase.TryStopKubelet()
    	}
    
    	// Write env file with flags for the kubelet to use. We do not need to write the --register-with-taints for the control-plane,
    	// as we handle that ourselves in the mark-control-plane phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

        }
    
        def "setting plain text to the label will only write the text to ansi"() {
            given:
            label.text = "text"
    
            when:
            redraw()
    
            then:
            1 * ansi.a("text")
            0 * ansi._
        }
    
        def "setting styled text (emphasis only) to the label will change the style and write the text to ansi"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/ClassAnalysis.java

            }
    
            @Override
            public void write(Encoder encoder, ClassAnalysis value) throws Exception {
                encoder.writeString(value.getClassName());
                encoder.writeNullableString(value.getDependencyToAllReason());
                stringSetSerializer.write(encoder, value.getPrivateClassDependencies());
                stringSetSerializer.write(encoder, value.getAccessibleClassDependencies());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/internal/coverage/encodemeta/encode.go

    	}
    	if err := binary.Write(w, binary.LittleEndian, mh); err != nil {
    		return digest, fmt.Errorf("error writing meta-file header: %v", err)
    	}
    	off := int64(coverage.CovMetaHeaderSize)
    
    	// Write function offsets section
    	off = b.emitFuncOffsets(w, off)
    
    	// Check for any errors up to this point.
    	if b.werr != nil {
    		return digest, b.werr
    	}
    
    	// Write string table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/SerializersTest.groovy

            def writer = stateful.newWriter(encoder)
    
            when:
            def result1 = reader.read()
            def result2 = reader.read()
    
            then:
            result1 == "one"
            result2 == "two"
            1 * serializer.read(decoder) >> "one"
            1 * serializer.read(decoder) >> "two"
            0 * serializer._
    
            when:
            writer.write("one")
            writer.write("two")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/LinePerThreadBufferingOutputStreamTest.groovy

                    start {
                        100.times {
                            outstr.write('write '.getBytes())
                            outstr.print(it)
                            outstr.println()
                        }
                    }
                }
            }
    
            then:
            output.size() == 1000
            output.findAll({!it.matches('write \\d+<EOL>')}).empty
        }
    
        def flushForwardsBufferedText() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:13 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top