Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 362 for picard (0.18 sec)

  1. 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)
  2. src/internal/zstd/zstd_test.go

    	}
    
    	compressed := zstdBigData(t)
    	input := bytes.NewReader(compressed)
    	r := NewReader(input)
    	c := testing.AllocsPerRun(10, func() {
    		input.Reset(compressed)
    		r.Reset(input)
    		io.Copy(io.Discard, r)
    	})
    	if c != 0 {
    		t.Errorf("got %v allocs, want 0", c)
    	}
    }
    
    func TestFileSamples(t *testing.T) {
    	samples, err := os.ReadDir("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/net/http/responsecontroller_test.go

    		errc <- err
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	close(startwritec)
    	if err != nil {
    		t.Fatalf("unexpected connection error: %v", err)
    	}
    	defer res.Body.Close()
    	_, err = io.Copy(io.Discard, res.Body)
    	if err == nil {
    		t.Errorf("client reading from truncated request body: got nil error, want non-nil")
    	}
    	err = <-errc // io.Copy error
    	if !errors.Is(err, os.ErrDeadlineExceeded) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/ConnectionSetTest.groovy

            then:
            messages.size() == 2
            messages[0] instanceof RejectedMessage
            messages[0].payload == "payload"
            messages[1] instanceof EndOfStream
         }
    
        def "does not discard queued outgoing messages when stop requested until all connections finished"() {
            def channel = new ChannelIdentifier("channel")
            def message = new ChannelMessage(channel, "payload")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.wizard;
    
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.List;
    
    import javax.annotation.Resource;
    
    import org.apache.commons.lang3.StringUtils;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/DefaultTransformCodec.kt

                writeEnum(value.inputArtifactLineEndingNormalization)
                writeEnum(value.inputArtifactDependenciesLineEndingNormalization)
                write(value.isolatedParameters)
                // TODO - isolate now and discard node, if isolation is scheduled but has no dependencies
            }
        }
    
        override suspend fun ReadContext.decode(): DefaultTransform {
            return decodePreservingSharedIdentity {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionStrategyInternal.java

    import org.gradle.internal.ImmutableActionSet;
    
    public interface ResolutionStrategyInternal extends ResolutionStrategy {
        /**
         * Discard any configuration state that is not required after graph resolution has been attempted.
         */
        void maybeDiscardStateRequiredForGraphResolution();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. internal/hash/reader_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = io.Copy(io.Discard, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    	md5sum := r.MD5Current()
    	if hex.EncodeToString(md5sum) != "e2fc714c4727ee9395f324cd2e7f331f" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top