Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 923 for read1 (0.24 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. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/platform/internal/ReadelfBinaryInfoTest.groovy

            then:
            symbols.size() == 4
            symbols*.name.containsAll(['multiply.cpp', 'sum.cpp', 'greeter.cpp', 'main.cpp'])
        }
    
        @Unroll("reads soname value with #language readelf output")
        def "reads soname value"() {
            when:
            def inputLines = input.readLines()
    
            then:
            ReadelfBinaryInfo.readSoName(inputLines) == 'heythere'
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 23:09:11 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/internal/saferio/io.go

    // read data from an [io.Reader] where the size is part of the input
    // data but the input may be corrupt, or may be provided by an
    // untrustworthy attacker.
    package saferio
    
    import (
    	"io"
    	"unsafe"
    )
    
    // chunk is an arbitrary limit on how much memory we are willing
    // to allocate without concern.
    const chunk = 10 << 20 // 10M
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/convert_ref_variables.mlir

      %1 = "tf.Identity"(%0) : (tensor<!tf_type.int32ref>) -> tensor<i32>
      func.return %1 : tensor<i32>
    }
    
    // -----
    
    // Test the cases when there are both reads and writes, the order of the reads and writes are preserved.
    
    // CHECK-LABEL: @init
    func.func @init() -> tensor<i32> {
      // CHECK-NOT: tf.VariableV2
    
      // CHECK: [[zero:%.*]] = "tf.Const"
      // CHECK-SAME: dense<0>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. src/crypto/rand/example_test.go

    package rand_test
    
    import (
    	"bytes"
    	"crypto/rand"
    	"fmt"
    )
    
    // This example reads 10 cryptographically secure pseudorandom numbers from
    // rand.Reader and writes them to a byte slice.
    func ExampleRead() {
    	c := 10
    	b := make([]byte, c)
    	_, err := rand.Read(b)
    	if err != nil {
    		fmt.Println("error:", err)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 621 bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/InstrumentedInputsListener.java

     */
    
    package org.gradle.internal.configuration.inputs;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    public interface InstrumentedInputsListener {
        /**
         * Invoked when the code reads the system property with the String key.
         *
         * @param key the name of the property
         * @param value the value of the property at the time of reading or {@code null} if the property is not present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. internal/s3select/json/reader.go

    // Reader - JSON record reader for S3Select.
    type Reader struct {
    	args       *ReaderArgs
    	decoder    *jstream.Decoder
    	valueCh    chan *jstream.MetaValue
    	readCloser io.ReadCloser
    }
    
    // Read - reads single record.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	v, ok := <-r.valueCh
    	if !ok {
    		if err := r.decoder.Err(); err != nil {
    			return nil, errJSONParsingError(err)
    		}
    		return nil, io.EOF
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 24 03:58:53 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c

    }
    
    #pragma GCC diagnostic ignored "-Wunknown-pragmas"
    #pragma GCC push_options
    #pragma GCC target("xsave")
    #pragma clang attribute push (__attribute__((target("xsave"))), apply_to=function)
    
    // xgetbv reads the contents of an XCR (Extended Control Register)
    // specified in the ECX register into registers EDX:EAX.
    // Currently, the only supported value for XCR is 0.
    void
    gccgoXgetbv(uint32_t *eax, uint32_t *edx)
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/SessionServicePacket.java

            return ( ( src[ srcIndex++ ] & 0x01 ) << 16 ) + ( ( src[ srcIndex++ ] & 0xFF ) << 8 ) + ( src[ srcIndex++ ] & 0xFF );
        }
    
    
        static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n;
    
            while ( i < len ) {
                n = in.read(b, off + i, len - i);
                if ( n <= 0 ) {
                    break;
                }
                i += n;
            }
    
            return i;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top