Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for writes (0.29 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Loads the cached model, if available, or else runs the given function to create it and then writes the result to the cache.
         */
        fun <T : Any> loadOrCreateModel(creator: () -> T): T
    
        /**
         * Loads a cached intermediate model, if available, or else runs the given function to create it and then writes the result to the cache.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheStateStore.kt

        /**
         * Writes some value to zero or more state files.
         */
        fun <T> useForStore(action: (ConfigurationCacheRepository.Layout) -> T): T
    
        /**
         * Creates a new [ValueStore] that can be used to load and store multiple values.
         */
        fun <T> createValueStore(
            stateType: StateType,
            writer: ValueStore.Writer<T>,
            reader: ValueStore.Reader<T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportWriter.kt

    import java.io.Writer
    
    
    /**
     * Writes the configuration cache html report.
     *
     * The report is laid out in such a way as to allow extracting the pure JSON model
     * by looking for the `// begin-report-data` and `// end-report-data` markers.
     */
    internal
    class HtmlReportWriter(val writer: Writer) {
    
        private
        val jsonModelWriter = JsonModelWriter(writer)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/sha3/shake.go

    	return newCShake(N, S, rate256, 64, dsbyteCShake)
    }
    
    // ShakeSum128 writes an arbitrary-length digest of data into hash.
    func ShakeSum128(hash, data []byte) {
    	h := NewShake128()
    	h.Write(data)
    	h.Read(hash)
    }
    
    // ShakeSum256 writes an arbitrary-length digest of data into hash.
    func ShakeSum256(hash, data []byte) {
    	h := NewShake256()
    	h.Write(data)
    	h.Read(hash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

    import java.lang.reflect.InvocationTargetException
    
    
    /**
     * Writes a bean property.
     *
     * A property can only be written when there's a suitable [Codec] for its [value].
     */
    suspend fun WriteContext.writeNextProperty(name: String, value: Any?, kind: PropertyKind) {
        withPropertyTrace(kind, name) {
            try {
                write(value)
            } catch (error: Exception) {
                onError(error) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package relnote
    
    import (
    	"fmt"
    	"strings"
    
    	md "rsc.io/markdown"
    )
    
    // DumpMarkdown writes the internal structure of a markdown
    // document to standard output.
    // It is intended for debugging.
    func DumpMarkdown(d *md.Document) {
    	dumpBlocks(d.Blocks, 0)
    }
    
    func dumpBlocks(bs []md.Block, depth int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h"
    #include "tensorflow/lite/c/c_api_types.h"
    
    namespace mlir {
    namespace lite {
    
    // Quantizes the input model represented as `model_buffer` and writes the result
    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    func (s *asmState) resetBuf() {
    	max := (cap(s.storage) / s.rate) * s.rate
    	s.buf = s.storage[:0:max]
    }
    
    // Write (via the embedded io.Writer interface) adds more data to the running hash.
    // It never returns an error.
    func (s *asmState) Write(b []byte) (int, error) {
    	if s.state != spongeAbsorbing {
    		panic("sha3: Write after Read")
    	}
    	length := len(b)
    	for len(b) > 0 {
    		if len(s.buf) == 0 && len(b) >= cap(s.buf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    		if len(toleration.Effect) == 0 || toleration.Effect == v1.TaintEffectPreferNoSchedule {
    			tolerationList = append(tolerationList, toleration)
    		}
    	}
    	return
    }
    
    // PreScore builds and writes cycle state used by Score and NormalizeScore.
    func (pl *TaintToleration) PreScore(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status {
    	if len(nodes) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/sync/rwmutex.go

    //
    // [the Go memory model]: https://go.dev/ref/mem
    type RWMutex struct {
    	w           Mutex        // held if there are pending writers
    	writerSem   uint32       // semaphore for writers to wait for completing readers
    	readerSem   uint32       // semaphore for readers to wait for completing writers
    	readerCount atomic.Int32 // number of pending readers
    	readerWait  atomic.Int32 // number of departing readers
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top