Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for picard (0.23 sec)

  1. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ResolveArtifactNodeCodec.kt

    
    object ResolveArtifactNodeCodec : Codec<DefaultResolvableArtifact.ResolveAction> {
        override suspend fun WriteContext.encode(value: DefaultResolvableArtifact.ResolveAction) {
            // TODO - should just discard this action. The artifact location will already have been resolved during writing to the cache
            // and so this node does not do anything useful
            write(value.artifact)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeActionCodec.kt

        override suspend fun WriteContext.encode(value: WorkNodeAction) {
            logNotImplemented(value.javaClass)
        }
    
        override suspend fun ReadContext.decode(): WorkNodeAction {
            // TODO - should discard from graph instead
            return object : WorkNodeAction {
                override fun run(context: NodeExecutionContext) {
                    // Ignore
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpClientFactory.java

                if (!client.isConnected()) {
                    LOGGER.info("Tried to reuse an existing sftp client, but unexpectedly found it disconnected.  Discarding and trying again.");
                    discard(client);
                    client = reuseExistingOrCreateNewClient(sftpHost);
                } else {
                    LOGGER.debug("Reusing an existing sftp client.");
                }
            }
    
            return client;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/net/sendfile_test.go

    		}
    	}()
    
    	wg.Add(1)
    	go func() {
    		// Connect to the server started two goroutines up and
    		// discard any data that it writes.
    		defer wg.Done()
    		conn, err := Dial("tcp", ln.Addr().String())
    		if err != nil {
    			t.Error(err)
    			return
    		}
    		defer conn.Close()
    		io.Copy(io.Discard, conn)
    	}()
    
    	// Wait for the byte to be copied, meaning that sendfile has
    	// been called on the pipe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

                value.isMissing -> {
                    // Can serialize a fixed value and discard the provider
                    // TODO - should preserve information about the source, for diagnostics at execution time
                    writeByte(1)
                }
    
                value.hasFixedValue() && sideEffect == null -> {
                    // Can serialize a fixed value and discard the provider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil_test.go

    	}
    }
    
    func TestCloseOnWriter(t *testing.T) {
    	writer := WriteOnClose(io.Discard)
    	if writer.HasWritten() {
    		t.Error("WriteOnCloser must not be marked as HasWritten")
    	}
    	writer.Write(nil)
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    	}
    
    	writer = WriteOnClose(io.Discard)
    	writer.Close()
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

        }
    
        @Override
        public MutationValidator getValidator() {
            return holder;
        }
    
        @Override
        public void discardAll() {
            holder.discard();
        }
    
        private static class MetadataHolder implements MutationValidator {
            @Nullable
            private SoftReference<LocalComponentGraphResolveState> reference;
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. internal/bpool/bpool.go

    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    		return
    	}
    	select {
    	case bp.c <- b:
    		// buffer went back into pool
    	default:
    		// buffer didn't go back into pool, just discard
    	}
    }
    
    // Width returns the width of the byte arrays in this pool.
    func (bp *BytePoolCap) Width() (n int) {
    	if bp == nil {
    		return 0
    	}
    	return bp.w
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt

        /**
         * Compute if the value of a given expression is possibly used. Or,
         * conversely, compute whether the value of an expression is *not* safe to
         * discard.
         *
         * E.g. `x` in the following examples *are* used (`x.isUsedAsExpression() == true`)
         *   - `if (x) { ... } else { ... }`
         *   - `val a = x`
         *   - `x + 8`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/preemption/preemption.go

    // 2. A node with minimum highest priority victim is picked.
    // 3. Ties are broken by sum of priorities of all victims.
    // 4. If there are still ties, node with the minimum number of victims is picked.
    // 5. If there are still ties, node with the latest start time of all highest priority victims is picked.
    // 6. If there are still ties, the first such node is picked (sort of randomly).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top