Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for writeNL (0.67 sec)

  1. src/cmd/link/elf_test.go

    		t.Skip("-buildmode=pie not supported")
    	}
    
    	t.Parallel()
    
    	tmpl := template.Must(template.New("pie").Parse(pieSourceTemplate))
    
    	writeGo := func(t *testing.T, dir string) {
    		f, err := os.Create(filepath.Join(dir, "pie.go"))
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		// Passing a 100-element slice here will cause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/scope.go

    			}
    		}
    		return s
    	}
    	return nil
    }
    
    // WriteTo writes a string representation of the scope to w,
    // with the scope elements sorted by name.
    // The level of indentation is controlled by n >= 0, with
    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/go/types/scope.go

    			}
    		}
    		return s
    	}
    	return nil
    }
    
    // WriteTo writes a string representation of the scope to w,
    // with the scope elements sorted by name.
    // The level of indentation is controlled by n >= 0, with
    // n == 0 for no indentation.
    // If recurse is set, it also writes nested (children) scopes.
    func (s *Scope) WriteTo(w io.Writer, n int, recurse bool) {
    	const ind = ".  "
    	indn := strings.Repeat(ind, n)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/net/tcpsock.go

    	}
    	return n, err
    }
    
    // WriteTo implements the io.WriterTo WriteTo method.
    func (c *TCPConn) WriteTo(w io.Writer) (int64, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.writeTo(w)
    	if err != nil && err != io.EOF {
    		err = &OpError{Op: "writeto", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/prog.go

    	nextID     int64
    	inFlight   map[int64]chan<- *ProgResponse
    	outputFile map[OutputID]string // object => abs path on disk
    
    	// writeMu serializes writing to the child process.
    	// It must never be held at the same time as mu.
    	writeMu sync.Mutex
    }
    
    // ProgCmd is a command that can be issued to a child process.
    //
    // If the interface needs to grow, we can add new commands or new versioned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    	}
    	return n, err
    }
    
    // writeTo writes the content of the current file to w.
    // The bytes written matches the number of remaining bytes in the current file.
    //
    // If the current file is sparse and w is an io.WriteSeeker,
    // then writeTo uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java

        }
    
        public void write(Encoder encoder, ModuleComponentResolveMetadata metadata, Map<ExternalDependencyDescriptor, Integer> deduplicationDependencyCache) throws IOException {
            new Writer(encoder, attributeContainerSerializer, componentSelectorSerializer, moduleSourcesSerializer).write(metadata, deduplicationDependencyCache);
        }
    
        private static class Writer {
            private final Encoder encoder;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    					defer grid.PutByteBuffer(buf)
    
    					writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    				} else {
    					writers[i] = newBitrotWriter(disk, bucket, minioMetaTmpBucket, partPath,
    						tillOffset, DefaultBitrotAlgorithm, erasure.ShardSize())
    				}
    			}
    
    			// Heal each part. erasure.Heal() will write the healed
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

            body.writeTo(sink)
          }
    
          sink.write(CRLF)
        }
    
        sink!!.write(DASHDASH)
        sink.write(boundaryByteString)
        sink.write(DASHDASH)
        sink.write(CRLF)
    
        if (countBytes) {
          byteCount += byteCountBuffer!!.size
          byteCountBuffer.clear()
        }
    
        return byteCount
      }
    
      class Part private constructor(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Writes this {@code BloomFilter} to an output stream, with a custom format (not Java
       * serialization). This has been measured to save at least 400 bytes compared to regular
       * serialization.
       *
       * <p>Use {@linkplain #readFrom(InputStream, Funnel)} to reconstruct the written BloomFilter.
       */
      public void writeTo(OutputStream out) throws IOException {
        // Serial form:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top