Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for decoded (0.73 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

     * If some of them are not, it logs a problem.
     *
     * The lambda is encoded straightforwardly as a bean, and, upon decoding, the bean is expected to be the [SerializedLambda].
     * Beside the compliance checks, the values are encoded or decoded as beans without any special handling.
     *
     * @see [org.gradle.internal.serialize.beans.services.unsupportedFieldDeclaredTypes]
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt

        val id = readSmallInt()
        val previousValue = identities.getInstance(id)
        return when {
            previousValue != null -> previousValue.uncheckedCast()
            else -> {
                decode(id).also {
                    require(identities.getInstance(id) === it) {
                        "`decode(id)` should register the decoded instance"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/cmd/pack/pack.go

    		usage()
    	}
    	if len(ar.files) > 0 {
    		log.Fatalf("file %q not in archive", ar.files[0])
    	}
    }
    
    // The unusual ancestry means the arguments are not Go-standard.
    // These variables hold the decoded operation specified by the first argument.
    // op holds the operation we are doing (prtx).
    // verbose tells whether the 'v' option was specified.
    var (
    	op      rune
    	verbose bool
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

        SingletonCodec(value)
    
    
    fun <T> codec(
        encode: suspend WriteContext.(T) -> Unit,
        decode: suspend ReadContext.() -> T?
    ): Codec<T> = object : Codec<T> {
        override suspend fun WriteContext.encode(value: T) = encode(value)
        override suspend fun ReadContext.decode(): T? = decode()
    }
    
    
    inline fun <reified T> IsolateContext.ownerService() =
        ownerService(T::class.java)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        codec: Codec<Any?>,
    
        private
        val decoder: Decoder,
    
        private
        val beanStateReaderLookup: BeanStateReaderLookup,
    
        override val logger: Logger,
    
        problemsListener: ProblemsListener,
    
        private
        val classDecoder: ClassDecoder
    
    ) : AbstractIsolateContext<ReadIsolate>(codec, problemsListener), ReadContext, Decoder by decoder, AutoCloseable {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/HashSetCodec.kt

    import org.gradle.internal.serialize.graph.writeCollection
    
    
    /**
     * Decodes HashSet instances as LinkedHashSet to preserve original iteration order.
     */
    object HashSetCodec : Codec<HashSet<Any?>> {
    
        override suspend fun WriteContext.encode(value: HashSet<Any?>) {
            writeCollectionCheckingForCircularElements(value)
        }
    
        override suspend fun ReadContext.decode(): HashSet<Any?> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/TransformStepCodec.kt

                val project = value.owningProject ?: throw UnsupportedOperationException("TransformStep must have an owning project to be encoded.")
                writeString(project.path)
                write(value.transform)
            }
        }
    
        override suspend fun ReadContext.decode(): TransformStep {
            return decodePreservingSharedIdentity {
                val path = readString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    }
    
    func (m methodref) isExported() bool {
    	for _, r := range m.m.name {
    		return unicode.IsUpper(r)
    	}
    	panic("methodref has no signature")
    }
    
    // decodeMethodSig decodes an array of method signature information.
    // Each element of the array is size bytes. The first 4 bytes is a
    // nameOff for the method name, and the next 4 bytes is a typeOff for
    // the function type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java

     *  <p>Codecs may be implemented:
     *  <ul>
     *  <li>as a custom class that implements both encoding and decoding protocols in the same class
     *  <li>based on the combination of arbitrary encoder and decoder functions, as done via {@link org.gradle.internal.serialize.graph.CombinatorsKt#codec(kotlin.jvm.functions.Function3, kotlin.jvm.functions.Function2) codec(...)}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

                    HashCode classLoaderHash = hashCodeSerializer.read(decoder);
                    String functionalInterfaceClass = decoder.readString();
                    String implClass = decoder.readString();
                    String implMethodName = decoder.readString();
                    String implMethodSignature = decoder.readString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top