Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 577 for encodeTo (0.19 sec)

  1. pkg/credentialprovider/plugin/plugin_test.go

    				t.Fatalf("expected error %v but got nil", testcase.expectedErr)
    			}
    
    			if !reflect.DeepEqual(data, testcase.expectedData) {
    				t.Errorf("actual encoded data: %v", string(data))
    				t.Errorf("expected encoded data: %v", string(testcase.expectedData))
    				t.Errorf("unexpected encoded response")
    			}
    		})
    	}
    }
    
    func Test_decodeResponse(t *testing.T) {
    	testcases := []struct {
    		name             string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         *
         * @param outputStream The output stream. The system default character encoding will be used to encode characters written to this stream.
         * @return this
         * @since 1.0-milestone-7
         */
        LongRunningOperation setStandardError(OutputStream outputStream);
    
        /**
         * Specifies whether to generate colored (ANSI encoded) output for logging. The default is to not generate color output.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy

            connection?.stop()
            acceptor?.stop()
        }
    
        def "returns null on failure to receive due to truncated input"() {
            given:
            def incomingSerializer = { Encoder encoder, String value ->
                encoder.writeInt(value.length())
            } as Serializer
            def action = { ConnectCompletion completion ->
                def conn = completion.create(Serializers.stateful(incomingSerializer))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-dynamic-layout-pass.mlir

      // CHECK: %[[COMPILE:.*]]:2 = "tf_device.launch"
      // CHECK-NEXT: "tf._TPUCompileMlir"()
      %compile:2 = "tf_device.launch"() ({
        %1:2 = "tf._TPUCompileMlir"() {
          NumDynamicShapes = 0 : i64,
          // The metadata encodes 2 parameter and two return values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

            }
    
            @Override
            public void write(Encoder encoder, T value) throws Exception {
                TypeInfo typeInfo = map(value.getClass());
                encoder.writeSmallInt(typeInfo.tag);
                Cast.<Serializer<T>>uncheckedNonnullCast(typeInfo.serializer).write(encoder, value);
            }
    
            @Override
            public boolean equals(Object obj) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go

    	encObjectCopy.EncryptedData = result
    
    	span.AddEvent("About to encode encrypted object")
    	// Serialize the EncryptedObject to a byte array.
    	out, err := t.doEncode(&encObjectCopy)
    	if err != nil {
    		span.AddEvent("Encoding encrypted object failed")
    		span.RecordError(err)
    		return nil, err
    	}
    	span.AddEvent("Encoded encrypted object")
    
    	return out, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 00:23:50 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            then:
            newIsolatables[0].isolate() == list
        }
    
        def serialize(Isolatable<?>... isolatables) {
            encoder.writeInt(isolatables.size())
            isolatables.each { serializer.writeIsolatable(encoder, it) }
            encoder.flush()
        }
    
        Isolatable<?>[] deserialize() {
            def isolatables = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/certificates/v1/generated.proto

    // CertificateSigningRequestSpec contains the certificate request.
    message CertificateSigningRequestSpec {
      // request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block.
      // When serialized as JSON or YAML, the data is additionally base64-encoded.
      // +listType=atomic
      optional bytes request = 1;
    
      // signerName indicates the requested signer, and is a qualified name.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    				var spHdr block
    				sp2 = formatSPD(sp2, spHdr.Sparse())
    				spb = append(spb, spHdr[:]...)
    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top