Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 308 for tenc (0.39 sec)

  1. src/encoding/gob/timing_test.go

    	b.ReportAllocs()
    	b.RunParallel(func(pb *testing.PB) {
    		r, w, err := pipe()
    		if err != nil {
    			b.Fatal("can't get pipe:", err)
    		}
    		v := ctor()
    		enc := NewEncoder(w)
    		dec := NewDecoder(r)
    		for pb.Next() {
    			if err := enc.Encode(v); err != nil {
    				b.Fatal("encode error:", err)
    			}
    			if err := dec.Decode(v); err != nil {
    				b.Fatal("decode error:", err)
    			}
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 07:16:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. docs/site-replication/run-ssec-object-replication-with-compression.sh

    echo "Loading objects to source MinIO instance"
    ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
    ./mc cp /tmp/data/encrypted minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure
    ./mc cp /tmp/data/defpartsize minio1/test-bucket/defpartsize --enc-c "minio1/test-bucket/defpartsize=${TEST_MINIO_ENC_KEY}" --insecure
    
    # Below should fail as compression and SSEC used at the same time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/image/gif/reader_test.go

    		}
    		// Write an image with bounds 2x1, as per TestDecode.
    		b.WriteString("\x2c\x00\x00\x00\x00\x02\x00\x01\x00\x00\x02")
    		enc := lzwEncode([]byte{0x00, 0x00})
    		if len(enc) > 0xff {
    			t.Fatalf("compressed length %d is too large", len(enc))
    		}
    		b.WriteByte(byte(len(enc)))
    		b.Write(enc)
    		b.WriteByte(0x00)
    	}
    	b.WriteString(trailerStr)
    
    	g, err := DecodeAll(b)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. test/fixedbugs/bug160.dir/y.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    import "./x"
    
    func main() {
    	if x.Zero != 0 {
    		println("x.Zero = ", x.Zero);
    		os.Exit(1);
    	}
    	if x.Ten != 10 {
    		println("x.Ten = ", x.Ten);
    		os.Exit(1);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 348 bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding enc = base32().withPadChar('~');
        testEncodingWithCasing(enc, "", "");
        testEncodingWithCasing(enc, "f", "MY~~~~~~");
        testEncodingWithCasing(enc, "fo", "MZXQ~~~~");
        testEncodingWithCasing(enc, "foo", "MZXW6~~~");
        testEncodingWithCasing(enc, "foob", "MZXW6YQ~");
        testEncodingWithCasing(enc, "fooba", "MZXW6YTB");
        testEncodingWithCasing(enc, "foobar", "MZXW6YTBOI~~~~~~");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  6. src/crypto/aes/cipher_asm.go

    func expandKey(key []byte, enc, dec []uint32) {
    	if supportsAES {
    		rounds := 10 // rounds needed for AES128
    		switch len(key) {
    		case 192 / 8:
    			rounds = 12
    		case 256 / 8:
    			rounds = 14
    		}
    		expandKeyAsm(rounds, &key[0], &enc[0], &dec[0])
    	} else {
    		expandKeyGo(key, enc, dec)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/encoding/gob/example_test.go

    	// Initialize the encoder and decoder. Normally enc and dec would be
    	// bound to network connections and the encoder and decoder would
    	// run in different processes.
    	var network bytes.Buffer        // Stand-in for a network connection
    	enc := gob.NewEncoder(&network) // Will write to network.
    	dec := gob.NewDecoder(&network) // Will read from network.
    
    	// Encode (send) some values.
    	err := enc.Encode(P{3, 4, 5, "Pythagoras"})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  8. src/crypto/aes/cbc_ppc64x.go

    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(src) > 0 {
    		if x.enc == cbcEncrypt {
    			cryptBlocksChain(&src[0], &dst[0], len(src), &x.b.enc[0], &x.iv[0], x.enc, int(x.b.l)/4-1)
    		} else {
    			cryptBlocksChain(&src[0], &dst[0], len(src), &x.b.dec[0], &x.iv[0], x.enc, int(x.b.l)/4-1)
    		}
    	}
    }
    
    func (x *cbc) SetIV(iv []byte) {
    	if len(iv) != BlockSize {
    		panic("cipher: incorrect length IV")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

        protected Map<String, String> encodingMap = new HashMap<>();
    
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
                return enc;
            }
            return newEnc;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                return URLDecoder.decode(escapedUrl, enc);
            } catch (final Exception e) {
                return url;
            }
        }
    
        default String getParentEncoding(final String parentUrl, final String sessionId) {
            final String key = sessionId + ":" + parentUrl;
            String enc = parentEncodingMap.get(key);
            if (enc != null) {
                return enc;
            }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top