Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2561 - 2570 of 2,691 for code2 (0.02 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphsTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link Graphs}. Tests assume that the implementation of the method {@code addEdge} adds
     * the missing nodes to the graph, then adds the edge between them.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class GraphsTest {
      private static final Integer N1 = 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

     * @author Jesse Wilson
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableSortedMapTest extends TestCase {
      // TODO: Avoid duplicating code in ImmutableMapTest
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalActiveWorkerStat(t *testing.T) {
    	v := ActiveWorkerStat{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		// as a List() call is an important performance improvement.
    		//
    		// Spark based s3a committers are a  big enough use-case to have this optimization.
    		//
    		// A sample code to see the improvements is as follows, this sample code is
    		// simply a read on JSON from MinIO and write it back as "parquet".
    		//
    		// import org.apache.spark.sql.SparkSession
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * f(x)^c with greater than expected probability. The test for funneling is merely a test for
       * 1-bit characteristics.
       *
       * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics
       * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vnni.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_avx512_vnni(SB), NOSPLIT, $0
    	VPDPBUSD X15, X16, K2, X6                          // 62d27d0250f7
    	VPDPBUSD X11, X16, K2, X6                          // 62d27d0250f3
    	VPDPBUSD X1, X16, K2, X6                           // 62f27d0250f1
    	VPDPBUSD -15(R14)(R15*1), X16, K2, X6              // 62927d0250b43ef1ffffff
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 22 14:57:15 UTC 2018
    - 27.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64error.s

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT errors(SB),$0
    	MOV	$errors(SB), (X5)		// ERROR "address load must target register"
    	MOV	$8(SP), (X5)			// ERROR "address load must target register"
    	MOVB	$8(SP), X5			// ERROR "unsupported address load"
    	MOVH	$8(SP), X5			// ERROR "unsupported address load"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 08 08:53:43 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

        assertTrue(range.containsAll(asList(3, 3, 4, 5)));
        assertFalse(range.containsAll(asList(3, 3, 4, 5, 6)));
    
        // We happen to know that natural-order sorted sets use a different code
        // path, so we test that separately
        assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
        assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. schema/relationship.go

    			}
    		}
    	}
    
    	var (
    		name     string
    		idx      = strings.IndexByte(str, ',')
    		settings = ParseTagSetting(str, ",")
    	)
    
    	// optimize match english letters and midline
    	// The following code is basically called in for.
    	// In order to avoid the performance problems caused by repeated compilation of regular expressions,
    	// it only needs to be done once outside, so optimization is done here.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  10. docs/es/docs/tutorial/query-params-str-validations.md

    ```
    
    ...porque no está claro si el valor por defecto debería ser `"rick"` o `"morty"`.
    
    Así que utilizarías (preferentemente):
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...o en code bases más antiguos encontrarás:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Ventajas de `Annotated`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top