Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for blocksType (0.3 sec)

  1. src/cmd/vendor/rsc.io/markdown/parse.go

    			fmt.Fprintf(buf, " %s:%q", tf.Name, v.Field(i))
    		} else if tf.Type != blocksType && !tf.Type.Implements(blockType) && tf.Type.Kind() != reflect.Slice {
    			fmt.Fprintf(buf, " %s:%v", tf.Name, v.Field(i))
    		}
    	}
    
    	prefix += "\t"
    	for i := 0; i < t.NumField(); i++ {
    		tf := t.Field(i)
    		if !tf.IsExported() {
    			continue
    		}
    		if tf.Type.Implements(blockType) {
    			fmt.Fprintf(buf, "\n%s", prefix)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            PropertyMetaData compositeBlockProperty = property('listBlock', classMetaData, type: new TypeMetaData('java.util.List').addTypeArg(new TypeMetaData('BlockType')))
            MethodMetaData compositeBlockMethod = method('listBlock', classMetaData, paramTypes: [Closure.class.name])
            MethodMetaData tooManyParams = method('block', classMetaData, paramTypes: ['String', 'boolean'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  3. src/crypto/x509/pem_decrypt.go

    // design. Since it does not authenticate the ciphertext, it is vulnerable to
    // padding oracle attacks that can let an attacker recover the plaintext.
    func EncryptPEMBlock(rand io.Reader, blockType string, data, password []byte, alg PEMCipher) (*pem.Block, error) {
    	ciph := cipherByKey(alg)
    	if ciph == nil {
    		return nil, errors.New("x509: unknown encryption mode")
    	}
    	iv := make([]byte, ciph.blockSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/internal/zstd/zstd.go

    		return r.wrapNonEOFError(relativeOffset, err)
    	}
    
    	relativeOffset += 3
    
    	header := uint32(r.scratch[0]) | (uint32(r.scratch[1]) << 8) | (uint32(r.scratch[2]) << 16)
    
    	lastBlock := header&1 != 0
    	blockType := (header >> 1) & 3
    	blockSize := int(header >> 3)
    
    	// Maximum block size is smaller of window size and 128K.
    	// We don't record the window size for a single segment frame,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                <para>comment</para>
                <segmentedlist>
                    <segtitle>Delegates to</segtitle>
                    <seglistitem>
                        <seg><classname>BlockType</classname> from <link linkend="blockName">
                                <literal>blockName</literal></link></seg>
                    </seglistitem>
                </segmentedlist>
            </section>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  6. pkg/apis/certificates/validation/validation_test.go

    	if err != nil {
    		t.Fatalf("Error while making certificate: %v", err)
    	}
    
    	return cert
    }
    
    func mustMakePEMBlock(blockType string, headers map[string]string, data []byte) string {
    	return string(pem.EncodeToMemory(&pem.Block{
    		Type:    blockType,
    		Headers: headers,
    		Bytes:   data,
    	}))
    }
    
    func TestValidateClusterTrustBundle(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
Back to top