Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 382 for read1 (0.22 sec)

  1. pkg/api/v1/pod/util_test.go

    		{
    			status:   []v1.ContainerStatus{{Name: "test1", Ready: false, Image: "image1"}, {Name: "test2", Ready: true, Image: "image1"}},
    			name:     "test1",
    			expected: ExpectedStruct{status: v1.ContainerStatus{Name: "test1", Ready: false, Image: "image1"}, exists: true},
    			desc:     "retrieve ContainerStatus with Name=\"test1\"",
    		},
    		{
    			status:   []v1.ContainerStatus{{Name: "test2", Ready: false, Image: "image2"}},
    			name:     "test1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/renewal/manager.go

    		return false, err
    	}
    
    	// in case of external CA it is not possible to renew certificates, then return early
    	if externallyManaged {
    		return false, nil
    	}
    
    	// reads the current certificate
    	cert, err := handler.readwriter.Read()
    	if err != nil {
    		return false, err
    	}
    
    	// extract the certificate config
    	certConfig := certToConfig(cert)
    	for _, f := range handler.certConfigMutators {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/net/textproto/reader.go

    }
    
    // closeDot drains the current DotReader if any,
    // making sure that it reads until the ending dot line.
    func (r *Reader) closeDot() {
    	if r.dot == nil {
    		return
    	}
    	buf := make([]byte, 128)
    	for r.dot != nil {
    		// When Read reaches EOF or an error,
    		// it will set r.dot == nil.
    		r.dot.Read(buf)
    	}
    }
    
    // ReadDotBytes reads a dot-encoding and returns the decoded data.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	return func(t *testing.T, pageSize, estimatedProcessedObjects uint64) {
    		if reads := transformer.GetReadsAndReset(); reads != estimatedProcessedObjects {
    			t.Errorf("unexpected reads: %d, expected: %d", reads, estimatedProcessedObjects)
    		}
    		estimatedGetCalls := uint64(1)
    		if pageSize != 0 {
    			// We expect that kube-apiserver will be increasing page sizes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/tasks/GenerateModuleMetadata.java

        }
    
        @TaskAction
        void run() {
            InputState inputState = inputState();
            if (!(inputState instanceof InputState.Ready)) {
                throw new IllegalStateException(inputState.toString());
            }
            writeModuleMetadata(
                ((InputState.Ready) inputState).moduleMetadataSpec.get()
            );
        }
    
        private void writeModuleMetadata(ModuleMetadataSpec moduleMetadataSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. src/encoding/csv/reader.go

    // Read returns the record along with the error [ErrFieldCount].
    // If the record contains a field that cannot be parsed,
    // Read returns a partial record along with the parse error.
    // The partial record contains all fields read before the error.
    // If there is no data left to be read, Read returns nil, [io.EOF].
    // If [Reader.ReuseRecord] is true, the returned slice may be shared
    // between multiple calls to Read.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy

                assert handle.standardOutput.contains(incubatingPrompt)
            }
            handle.stdinPipe.write(("no" + TextUtil.platformLineSeparator).bytes)
    
            // after generating the project, we suggest the user reads some documentation
            ConcurrentTestUtil.poll(60) {
                assert handle.standardOutput.contains(documentationRegistry.getSampleForMessage())
            }
    
            closeInteractiveExecutor(handle)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 18.9K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      std::vector<char> out;
    
      // First read.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Second read. Hit cache.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Third read. File signatures are different.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharStreams.java

        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
       * @return a string containing all the characters
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top