Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 923 for read1 (0.05 sec)

  1. pkg/util/pod/pod_test.go

    		},
    		{
    			"additional init container condition",
    			func(input v1.PodStatus) v1.PodStatus {
    				input.InitContainerStatuses = []v1.ContainerStatus{
    					{
    						Name:  "init-container",
    						Ready: true,
    					},
    				}
    				return input
    			},
    			false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileInputStream.java

            return n;
        }
    
        @Override
        public int read(byte[] bytes) throws IOException {
            return file.read(bytes);
        }
    
        @Override
        public int read() throws IOException {
            return file.read();
        }
    
        @Override
        public int read(byte[] bytes, int offset, int length) throws IOException {
            return file.read(bytes, offset, length);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/align_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test to make sure that equality functions (and hash
    // functions) don't do unaligned reads on architectures
    // that can't do unaligned reads. See issue 46283.
    
    package test
    
    import "testing"
    
    type T1 struct {
    	x          float32
    	a, b, c, d int16 // memequal64
    }
    type T2 struct {
    	x          float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 24 19:06:05 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         * @throws IOException If the settings could not be deserialized.
         * @throws SettingsParseException If the input format could not be parsed.
         */
        Settings read(File input, Map<String, ?> options) throws IOException, SettingsParseException;
    
        /**
         * Reads the settings from the specified character reader. The reader will be automatically closed before the method
         * returns.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/net/http/responsecontroller.go

    			return nil, nil, errNotSupported()
    		}
    	}
    }
    
    // SetReadDeadline sets the deadline for reading the entire request, including the body.
    // Reads from the request body after the deadline has been exceeded will return an error.
    // A zero value means no deadline.
    //
    // Setting the read deadline after it has been exceeded will not extend it.
    func (c *ResponseController) SetReadDeadline(deadline time.Time) error {
    	rw := c.rw
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/io/fs/readfile.go

    }
    
    // ReadFile reads the named file from the file system fs and returns its contents.
    // A successful call returns a nil error, not [io.EOF].
    // (Because ReadFile reads the whole file, the expected EOF
    // from the final Read is not treated as an error to be reported.)
    //
    // If fs implements [ReadFileFS], ReadFile calls fs.ReadFile.
    // Otherwise ReadFile calls fs.Open and uses Read and Close
    // on the returned [File].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. internal/store/store.go

    	DelList(key []string) error
    	Open() error
    	Delete() error
    	Extension() string
    }
    
    // Key denotes the key present in the store.
    type Key struct {
    	Name   string
    	IsLast bool
    }
    
    // replayItems - Reads the items from the store and replays.
    func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key {
    	keyCh := make(chan Key)
    
    	go func() {
    		defer xioutil.SafeClose(keyCh)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/runtime/internal/wasitest/testdata/nonblock.go

    			defer f.Close()
    			defer wg.Done()
    
    			close(spawnWait)
    
    			<-ready
    
    			var buf [256]byte
    			n, err := f.Read(buf[:])
    			if err != nil {
    				panic(err)
    			}
    			os.Stderr.Write(buf[:n])
    		}(f)
    
    		// Spawn one goroutine at a time.
    		<-spawnWait
    	}
    
    	println("waiting")
    	close(ready)
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 26 17:59:52 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockStore.java

         * Removes the given block from this store.
         */
        void remove(BlockPayload block);
    
        /**
         * Reads the first block from this store.
         */
        <T extends BlockPayload> T readFirst(Class<T> payloadType);
        
        /**
         * Reads a block from this store.
         */
        <T extends BlockPayload> T read(BlockPointer pos, Class<T> payloadType);
    
        /**
         * Writes a block to this store, adding the block if required.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/LittleEndianDataInputStream.java

        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
      }
    
      /**
       * Reads an unsigned {@code short} as specified by {@link DataInputStream#readUnsignedShort()},
       * except using little-endian byte order.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top