Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for Assignment (0.25 sec)

  1. src/compress/bzip2/huffman.go

    	// each symbol (consider reflecting a tree down the middle, for
    	// example). Since the code length assignments determine the
    	// efficiency of the tree, each of these trees is equally good. In
    	// order to minimize the amount of information needed to build a tree
    	// bzip2 uses a canonical tree so that it can be reconstructed given
    	// only the code length assignments.
    
    	if len(lengths) < 2 {
    		panic("newHuffmanTree: too few symbols")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/go/types/tuple.go

    package types
    
    // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple.
    // Tuples are used as components of signatures and to represent the type of multiple
    // assignments; they are not first class types of Go.
    type Tuple struct {
    	vars []*Var
    }
    
    // NewTuple returns a new tuple for the given variables.
    func NewTuple(x ...*Var) *Tuple {
    	if len(x) > 0 {
    		return &Tuple{vars: x}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

            val result = schema.resolve("plugins = plugins { }")
            assertTrue { result.errors.any { it.errorReason == ErrorReason.UnitAssignment } }
        }
    
        @Test
        fun `type mismatch in assignments is reported as an error`() {
            val result = schema.resolve(
                """
                plugins {
                    val i = id("test")
                    i.version = 1
                }
                """.trimIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolverTest.kt

            val resolution = schema.resolve(
                """
                x = 1
                y = 1
                x = 2
                """.trimIndent()
            )
    
            val additionResults = resolution.assignments.map { impl.addAssignment(it.lhs, it.rhs, it.assignmentMethod, it.operationId.generationId) }
            assertIs<AssignmentResolver.AssignmentAdditionResult.Reassignment>(additionResults[2])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/Resolver.kt

            context.withScope(topLevelScope) { codeAnalyzer.analyzeStatementsInProgramOrder(context, topLevelBlock.statements) }
    
            return ResolutionResult(topLevelReceiver, context.assignments, context.additions, context.nestedObjectAccess, errorCollector.errors)
        }
    
        fun collectImports(
            trees: List<Import>,
            analysisContext: AnalysisContext
        ): Map<String, FqName> = buildMap {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/resolution.kt

    import org.gradle.internal.declarativedsl.language.LocalValue
    
    
    data class ResolutionResult(
        val topLevelReceiver: ObjectOrigin.TopLevelReceiver,
        val assignments: List<AssignmentRecord>,
        val additions: List<DataAdditionRecord>,
        val nestedObjectAccess: List<NestedObjectAccessRecord>,
        val errors: List<ResolutionError>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt

            referencedSoftwareTypes: List<SoftwareTypeConventionResolutionResults>
        ): List<AssignmentRecord> =
            referencedSoftwareTypes.flatMap { softwareType ->
                softwareType.assignments.map { assignmentRecord ->
                    assignmentRecord.copy(
                        lhs = assignmentRecord.lhs.copy(receiverObject = transfer(assignmentRecord.lhs.receiverObject)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Protocol.kt

      /**
       * Returns the string used to identify this protocol for ALPN, like "http/1.1", "spdy/3.1" or
       * "h2".
       *
       * See also [IANA tls-extensiontype-values][iana].
       *
       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1/generated.proto

      // This field follows standard Kubernetes label syntax.
      // Valid values are either:
      //
      // * Un-prefixed protocol names - reserved for IANA standard service names (as per
      // RFC-6335 and https://www.iana.org/assignments/service-names).
      //
      // * Kubernetes-defined prefixed names:
      //   * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top