Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 154 for write1 (0.15 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

         *
         * @param writer
         *            ライター
         * @return ラップされたライター
         */
        protected static Writer wrap(final Writer writer) {
            if (writer instanceof BufferedWriter) {
                return writer;
            }
            if (writer instanceof StringWriter) {
                return writer;
            }
            return new BufferedWriter(writer, DEFAULT_BUF_SIZE);
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertFailsWith<IllegalStateException> {
          abort()
        }
      }
    
      private fun Editor.setString(
        index: Int,
        value: String,
      ) {
        newSink(index).buffer().use { writer ->
          writer.writeUtf8(value)
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    	// to do one or two writes.
    	dst := span.heapBits()
    	o := (x - span.base()) / goarch.PtrSize
    	i := o / ptrBits
    	j := o % ptrBits
    	if j+bits > ptrBits {
    		// Two writes.
    		bits0 := ptrBits - j
    		bits1 := bits - bits0
    		dst[i+0] = dst[i+0]&(^uintptr(0)>>bits0) | (src << j)
    		dst[i+1] = dst[i+1]&^((1<<bits1)-1) | (src >> bits0)
    	} else {
    		// One write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/testing/testing.go

    func (f matchStringOnly) StartCPUProfile(w io.Writer) error           { return errMain }
    func (f matchStringOnly) StopCPUProfile()                             {}
    func (f matchStringOnly) WriteProfileTo(string, io.Writer, int) error { return errMain }
    func (f matchStringOnly) ImportPath() string                          { return "" }
    func (f matchStringOnly) StartTestLog(io.Writer)                      {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    	bps int
    }
    
    func (c *slowConn) Write(p []byte) (int, error) {
    	if c.bps == 0 {
    		panic("too slow")
    	}
    	t0 := time.Now()
    	wrote := 0
    	for wrote < len(p) {
    		time.Sleep(100 * time.Microsecond)
    		allowed := int(time.Since(t0).Seconds()*float64(c.bps)) / 8
    		if allowed > len(p) {
    			allowed = len(p)
    		}
    		if wrote < allowed {
    			n, err := c.Conn.Write(p[wrote:allowed])
    			wrote += n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. src/runtime/map.go

    	}
    	if asanenabled {
    		asanread(key, t.Key.Size_)
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(key, uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher, since t.hasher may panic,
    	// in which case we have not actually done a write.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/out.go

    			})
    		fmt.Fprint(fgo2, ")\n")
    		fmt.Fprint(fgo2, "}\n")
    	}
    
    	fmt.Fprintf(fgcch, "%s", gccExportHeaderEpilog)
    }
    
    // writeExportHeader writes out the start of the _cgo_export.h file.
    func (p *Package) writeExportHeader(fgcch io.Writer) {
    	fmt.Fprintf(fgcch, "/* Code generated by cmd/cgo; DO NOT EDIT. */\n\n")
    	pkg := *importPath
    	if pkg == "" {
    		pkg = p.PackagePath
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

                    writer.print(indent);
                }
                if (eolComment != null) {
                    writer.println(s + eolComment);
                    eolComment = null;
                } else {
                    writer.println(s);
                }
                hasSeparatorLine = false;
            }
    
            private void println() {
                writer.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  10. cluster/gce/windows/k8s-node-setup.psm1

    function WaitFor_KubeletAndKubeProxyReady {
      $waited = 0
      $timeout = 10
      while (((Get-Service kube-proxy).Status -ne 'Running' -or (Get-Service kubelet).Status -ne 'Running') -and $waited -lt $timeout) {
        Start-Sleep 1
        $waited++
      }
    
      # Timeout occurred
      if ($waited -ge $timeout) {
        Log-Output "$(Get-Service kube* | Out-String)"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top