Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for testEncodeDecode (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

        )
      }
    
      @Test fun multipleLabels() {
        testEncodeDecode(
          unicode = "☃.net",
          punycode = "xn--n3h.net",
        )
        testEncodeDecode(
          unicode = "ålgård.no",
          punycode = "xn--lgrd-poac.no",
        )
        testEncodeDecode(
          unicode = "個人.香港",
          punycode = "xn--gmqw5a.xn--j6w193g",
        )
        testEncodeDecode(
          unicode = "упр.срб",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_test.cc

        }
    
        TF_DeleteTensor(dst);
      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
                       {"the", "quick", "brown", "fox", "jumped", "over"});
    
      std::string big(1000, 'a');
      TestEncodeDecode(__LINE__, {"small", big, "small2"});
    }
    
    TEST(CAPI, SessionOptions) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  3. lib/fips140/v1.26.0.zip

    uint8(d)) if result != expected { t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected) } } } } func randomRingElement() ringElement { var r ringElement for i := range r { r[i] = fieldElement(mathrand.IntN(q)) } return r } func TestEncodeDecode(t *testing.T) { f := randomRingElement() b := make([]byte, 12*n/8) rand.Read(b) // Compare ringCompressAndEncod to ringCompressAndEncod. e1 := ringCompressAndEncod(nil, f, 10) e2 := ringCompressAndEncod(nil, f) if !bytes.Equal(e1, e2) { t.Er...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    uint8(d)) if result != expected { t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected) } } } } func randomRingElement() ringElement { var r ringElement for i := range r { r[i] = fieldElement(mathrand.IntN(q)) } return r } func TestEncodeDecode(t *testing.T) { f := randomRingElement() b := make([]byte, 12*n/8) rand.Read(b) // Compare ringCompressAndEncod to ringCompressAndEncod. e1 := ringCompressAndEncod(nil, f, 10) e2 := ringCompressAndEncod(nil, f) if !bytes.Equal(e1, e2) { t.Er...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
Back to Top