- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 174 for pread (0.04 sec)
-
src/encoding/xml/read.go
} if val.Type().Kind() == reflect.Slice && val.Type().Elem().Kind() != reflect.Uint8 { // Slice of element values. // Grow slice. n := val.Len() val.Grow(1) val.SetLen(n + 1) // Recur to read element into slice. if err := d.unmarshalAttr(val.Index(n), attr); err != nil { val.SetLen(n) return err } return nil } if val.Type() == attrType { val.Set(reflect.ValueOf(attr))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/plugin.go
// - Add. An unschedulable Pod may fail due to violating topology spread constraints, // adding an assigned Pod may make it schedulable. // - Update. Updating on an existing Pod's labels (e.g., removal) may make // an unschedulable Pod schedulable. // - Delete. An unschedulable Pod may fail due to violating an existing Pod's topology spread constraints, // deleting an existing Pod may make it schedulable.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 16 14:13:06 UTC 2024 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
char[] buf = new char[DEFAULT_BUF_SIZE]; int nRead; long total = 0; while ((nRead = from.read(buf)) != -1) { to.write(buf, 0, nRead); total += nRead; } return total; } /** * Reads all characters from a {@link Readable} object into a {@link String}. Does not close the * {@code Readable}. * * @param r the object to read from
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// Figure out largest value of total_drives_in_erasure_set which results // in least number of total_drives/total_drives_erasure_set ratio. prevD := divisibleSize / setCounts[0] for _, cnt := range setCounts { if divisibleSize%cnt == 0 { d := divisibleSize / cnt if d <= prevD { prevD = d setSize = cnt } } } return setSize } // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
char[] buf = new char[DEFAULT_BUF_SIZE]; int nRead; long total = 0; while ((nRead = from.read(buf)) != -1) { to.write(buf, 0, nRead); total += nRead; } return total; } /** * Reads all characters from a {@link Readable} object into a {@link String}. Does not close the * {@code Readable}. * * @param r the object to read from
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java
} @Override public int read() throws IOException { int nread = read(readBuffer, 0, 1); if (nread <= 0) { return nread; } return readBuffer[0]; } @Override public int read(byte[] dest, int offset, int max) throws IOException { if (max == 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 11.8K bytes - Viewed (0) -
src/net/http/httputil/persist.go
cc.mu.Lock() defer cc.mu.Unlock() return cc.nwritten - cc.nread } // Read reads the next response from the wire. A valid response might be // returned together with an [ErrPersistEOF], which means that the remote // requested that this be the last request serviced. Read can be called // concurrently with [ClientConn.Write], but not with another Read. func (cc *ClientConn) Read(req *http.Request) (resp *http.Response, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.1K bytes - Viewed (0) -
src/io/multi_test.go
})) // chain a bunch of multiReaders for i := 0; i < 100; i++ { r = MultiReader(r) } r.Read(nil) // don't care about errors, just want to check the call-depth for Read if readDepth != myDepth+2 { // 2 should be multiReader.Read and fakeReader.Read t.Errorf("multiReader did not flatten chained multiReaders: expected readDepth %d, got %d", myDepth+2, readDepth) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:32 UTC 2022 - 10K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
// multiple main packages. func recompileForTest(pmain, preal, ptest, pxtest *Package) *PackageError { // The "test copy" of preal is ptest. // For each package that depends on preal, make a "test copy" // that depends on ptest. And so on, up the dependency tree. testCopy := map[*Package]*Package{preal: ptest} for _, p := range PackageList([]*Package{pmain}) { if p == preal { continue } // Copy on write.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
pod.Labels, v1.ScheduleAnyway, ) if err != nil { return fmt.Errorf("obtaining pod's soft topology spread constraints: %w", err) } } else { s.Constraints, err = pl.buildDefaultConstraints(pod, v1.ScheduleAnyway) if err != nil { return fmt.Errorf("setting default soft topology spread constraints: %w", err) } } if len(s.Constraints) == 0 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0)