Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 299 for writeLoc (0.38 sec)

  1. src/runtime/write_err_android.go

    	dst := writeBuf[hlen:]
    	for _, v := range b {
    		if v == 0 { // android logging won't print a zero byte
    			v = '0'
    		}
    		dst[writePos] = v
    		writePos++
    		if v == '\n' || writePos == len(dst)-1 {
    			dst[writePos] = 0
    			write(writeFD, unsafe.Pointer(&writeBuf[0]), int32(hlen+writePos))
    			clear(dst)
    			writePos = 0
    		}
    	}
    }
    
    func initLegacy() {
    	// In legacy mode, logs are written to /dev/log/main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue4909b.go

    	}
    
    	fmt.Printf("var t T1\n")
    	fmt.Printf("var p *T1\n")
    
    	// Simple selectors
    	for n := 2; n < 256; n++ {
    		writeDot(n)
    	}
    
    	// Double selectors
    	for n := 128; n < 256; n++ {
    		writeDot(n/16, n)
    	}
    
    	// Triple selectors
    	for n := 128; n < 256; n++ {
    		writeDot(n/64, n/8, n)
    	}
    }
    
    const structTpl = `
    type T%d struct {
    	A%d int
    	T%d
    	*T%d
    }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultTextArea.java

        private final Cursor writePos = new Cursor();
        private final AnsiExecutor ansiExecutor;
    
        public DefaultTextArea(AnsiExecutor ansiExecutor) {
            this.ansiExecutor = ansiExecutor;
        }
    
        /**
         * Returns the bottom right position of this text area.
         */
        public Cursor getWritePosition() {
            return writePos;
        }
    
        public void newLineAdjustment() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cache.go

    	)
    }
    
    func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats {
    	return madmin.DiskIOStats{
    		ReadIOs:      currentStats.ReadIOs - initialStats.ReadIOs,
    		WriteIOs:     currentStats.WriteIOs - initialStats.WriteIOs,
    		ReadSectors:  currentStats.ReadSectors - initialStats.ReadSectors,
    		WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        val buffer = Buffer()
        body.writeTo(buffer)
        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun streamingPartHasNoLength() {
        class StreamingBody(private val body: String) : RequestBody() {
          override fun contentType(): MediaType? {
            return null
          }
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8(body)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

        def "providers.exec can be used during configuration time"() {
            given:
            def testScript = ShellScript.builder()
                .printArguments()
                .printEnvironmentVariable("TEST_FOO")
                .writeTo(testDirectory, "script")
    
            buildFile """
                def execProvider = providers.exec {
                    ${cmdToExecConfig(*testScript.commandLine, "--some-arg")}
                    environment("TEST_FOO", "fooValue")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. src/text/template/parse/node.go

    	var sb strings.Builder
    	c.writeTo(&sb)
    	return sb.String()
    }
    
    func (c *CommandNode) writeTo(sb *strings.Builder) {
    	for i, arg := range c.Args {
    		if i > 0 {
    			sb.WriteByte(' ')
    		}
    		if arg, ok := arg.(*PipeNode); ok {
    			sb.WriteByte('(')
    			arg.writeTo(sb)
    			sb.WriteByte(')')
    			continue
    		}
    		arg.writeTo(sb)
    	}
    }
    
    func (c *CommandNode) tree() *Tree {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/os/file_mutex_plan9.go

    // reference.
    func (file *file) readUnlock() {
    	if file.fdmu.ReadUnlock() {
    		file.destroy()
    	}
    }
    
    // writeLock adds a reference to the file and locks it for writing.
    // It returns an error if the file is already closed.
    func (file *file) writeLock() error {
    	if !file.fdmu.WriteLock() {
    		return ErrClosed
    	}
    	return nil
    }
    
    // writeUnlock removes a reference from the file and unlocks it for writing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/xml/XmlTransformer.java

            doTransform(original).writeTo(destination);
        }
    
        public void transform(Node original, Writer destination) {
            doTransform(original).writeTo(destination);
        }
    
        public void transform(Node original, OutputStream destination) {
            doTransform(original).writeTo(destination);
        }
    
        public void transform(Node original, File destination) {
            doTransform(original).writeTo(destination);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 15 08:15:53 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/BuildFileBuilder.groovy

                case GradleDsl.GROOVY:
                    new GroovyWriter().writeTo(targetDirectory.file("${id}.gradle"))
                    break
                case GradleDsl.KOTLIN:
                    new KotlinWriter().writeTo(targetDirectory.file("${id}.gradle.kts"))
                    break
            }
        }
    
        class GroovyWriter {
            void writeTo(TestFile buildFile) {
                buildFile << BuilderSupport.prettyPrint("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top