Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for Indices (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

    class HuffmanTest {
      @Test
      fun roundTripForRequestAndResponse() {
        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. schema/index_test.go

    	}
    	indexSchema, err := schema.Parse(&IndexTest{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user index, got error %v", err)
    	}
    	indices := indexSchema.ParseIndexes()
    	CheckIndices(t, map[string]schema.Index{
    		"idx_index_tests_field_a": {
    			Name:   "idx_index_tests_field_a",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt

    
    private
    fun List<KParameter>.isCompatibleWith(api: List<KParameter>) =
        when {
            size != api.size -> false
            isEmpty() -> true
            else -> indices.all { idx -> get(idx).isCompatibleWith(api[idx]) }
        }
    
    
    private
    fun KParameter.isCompatibleWith(api: KParameter) =
        when {
            isVarargCompatibleWith(api) -> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        the indices that are previously set in _TfrtSetResource op.
        `shared_name` and `container` are used to store identifying information for
        resource tensors that have been hoisted. This is important for resource
        alias analysis and side effect analysis. These are empty for non-resource
        type tensors.
      }];
    
      let arguments = (ins
        I64ArrayAttr:$indices,
        StrArrayAttr:$shared_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/internal/zstd/window.go

    			w.data = append(w.data, buf...)
    		} else {
    			w.data = append(w.data, buf[:free]...)
    			w.off = copy(w.data, buf[free:])
    		}
    	}
    }
    
    // appendTo appends stored bytes between from and to indices to the buf.
    // Index from must be less or equal to index to and to must be less or equal to w.len().
    func (w *window) appendTo(buf []byte, from, to uint32) []byte {
    	dataLen := uint32(len(w.data))
    	from += uint32(w.off)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.MediaType
    
    internal fun MediaType.commonParameter(name: String): String? {
      for (i in parameterNamesAndValues.indices step 2) {
        if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
          return parameterNamesAndValues[i + 1]
        }
      }
      return null
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        keyStoreType: String?,
        trustedCertificates: List<X509Certificate>,
        insecureHosts: List<String>,
      ): X509TrustManager {
        val trustStore = newEmptyKeyStore(keyStoreType)
        for (i in trustedCertificates.indices) {
          trustStore.setCertificateEntry("cert_$i", trustedCertificates[i])
        }
    
        val factory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm())
        factory.init(trustStore)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/selection.go

    // sequence of selection operations x.a.b.c.f. The SelectionKind
    // describes the kind of the final (explicit) operation; all the
    // previous (implicit) operations are always field selections.
    // Each element of Indices specifies an implicit field (a, b, c)
    // by its index in the struct type of the field selection operand.
    //
    // For a FieldVal operation, the final selection refers to the field
    // specified by Selection.Obj.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/go/types/selection.go

    // sequence of selection operations x.a.b.c.f. The SelectionKind
    // describes the kind of the final (explicit) operation; all the
    // previous (implicit) operations are always field selections.
    // Each element of Indices specifies an implicit field (a, b, c)
    // by its index in the struct type of the field selection operand.
    //
    // For a FieldVal operation, the final selection refers to the field
    // specified by Selection.Obj.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top