Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for writelns (0.25 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == list
        }
    
        def serialize(Isolatable<?>... isolatables) {
            encoder.writeInt(isolatables.size())
            isolatables.each { serializer.writeIsolatable(encoder, it) }
            encoder.flush()
        }
    
        Isolatable<?>[] deserialize() {
            def isolatables = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

                val projectPath = task.project.path
                val taskName = task.name
                writeClass(taskType)
                writeString(projectPath)
                writeString(taskName)
                writeLong(task.taskIdentity.uniqueId)
                writeNullableString(task.reasonTaskIsIncompatibleWithConfigurationCache.orElse(null))
    
                withDebugFrame({ taskType.name }) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

                writeClass(serviceDetails.implementationType)
                writeBoolean(serviceDetails.isResolved)
                if (serviceDetails.isResolved) {
                    write(serviceDetails.parameters)
                    writeInt(serviceDetails.maxUsages)
                }
            }
        }
    
        override suspend fun ReadContext.decode(): BuildServiceProvider<*, *>? =
            decodePreservingSharedIdentity {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/runtime/tracestack.go

    	}
    	id, _ := t.tab.put(noescape(unsafe.Pointer(&pcs[0])), uintptr(len(pcs))*unsafe.Sizeof(uintptr(0)))
    	return id
    }
    
    // dump writes all previously cached stacks to trace buffers,
    // releases all memory and resets state. It must only be called once the caller
    // can guarantee that there are no more writers to the table.
    func (t *traceStackTable) dump(gen uintptr) {
    	stackBuf := make([]uintptr, traceStackSize)
    	w := unsafeTraceWriter(gen, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java

            }
        }
    
        private void writeSummaryTree(final List<BuildOperationRecord> roots) throws IOException {
            Files.asCharSink(file(basePath, "-tree.txt"), Charsets.UTF_8).writeLines(new Iterable<String>() {
                @Override
                @Nonnull
                public Iterator<String> iterator() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/crdclient/client.go

    	}
    	return meta.GetResourceVersion(), nil
    }
    
    // Patch applies only the modifications made in the PatchFunc rather than doing a full replace. Useful to avoid
    // read-modify-write conflicts when there are many concurrent-writers to the same resource.
    func (cl *Client) Patch(orig config.Config, patchFn config.PatchFunc) (string, error) {
    	modified, patchType := patchFn(orig.DeepCopy())
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/fetch.go

    	// (before 1.16), as well as partially extracted directories (indicated by
    	// DownloadDirPartialError, usually because of a .partial file). This is only
    	// safe to do because the lock file ensures that their writers are no longer
    	// active.
    	parentDir := filepath.Dir(dir)
    	tmpPrefix := filepath.Base(dir) + ".tmp-"
    	if old, err := filepath.Glob(filepath.Join(str.QuoteGlob(parentDir), str.QuoteGlob(tmpPrefix)+"*")); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashSet.java

          this.size = 0;
        }
      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

    ) {
        /**
         * Writes the state for the whole build starting from the given root [build] and returns the set
         * of stored included build directories.
         */
        suspend fun DefaultWriteContext.writeRootBuildState(build: VintageGradleBuild) {
            writeBuildInvocationId()
            writeRootBuild(build).also {
                writeInt(0x1ecac8e)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. src/runtime/trace.go

    		mToFlush = mp
    	}
    	unlock(&sched.lock)
    
    	// Iterate over our snapshot, flushing every buffer until we're done.
    	//
    	// Because trace writers read the generation while the seqlock is
    	// held, we can be certain that when there are no writers there are
    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top