Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 291 for cat2 (0.05 sec)

  1. src/runtime/chan_test.go

    			case out <- b:
    			case <-done:
    				return
    			}
    		}
    	}()
    	cnt1, cnt2 := 0, 0
    	for i := 0; i < trials; i++ {
    		switch b := <-out; b {
    		case 1:
    			cnt1++
    		case 2:
    			cnt2++
    		default:
    			t.Fatalf("unexpected value %d on channel", b)
    		}
    	}
    	// If the select in the goroutine is fair,
    	// cnt1 and cnt2 should be about the same value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/sds/sdsservice_test.go

    	var server *Server
    	st := ca2.NewDirectSecretManager()
    	st.Set(testResourceName, &ca2.SecretItem{
    		CertificateChain: fakeCertificateChain,
    		PrivateKey:       fakePrivateKey,
    		ResourceName:     testResourceName,
    	})
    	st.Set(ca2.RootCertReqResourceName, &ca2.SecretItem{
    		RootCert:     fakeRootCert,
    		ResourceName: ca2.RootCertReqResourceName,
    	})
    
    	opts := &ca2.Options{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 20:12:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy

            def fat1 = Mock(FileAccessTracker)
            def fat2 = Mock(FileAccessTracker)
    
            when:
            twoStageStore.getFileAccessTracker().markAccessed(file)
    
            then:
            1 * readStore.getFileAccessTracker() >> fat1
            1 * writeStore.getFileAccessTracker() >> fat2
            1 * fat1.markAccessed(file)
            1 * fat2.markAccessed(file)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. docs/bucket/versioning/versioning-tests.sh

    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    }
    
    catch
    
    set -e
    export MINIO_CI_CD=1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5), filtered);
    
        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/modify_io_nodes.mlir

    // CHECK-NEXT: %[[cst2:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<32x!quant.uniform<i32:f32, 1.7052092479439231E-4>>, value = dense<0> : tensor<32xi32>}> : () -> tensor<32x!quant.uniform<i32:f32, 1.7052092479439231E-4>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    			OwnerType string
    		}
    
    		type Cat struct {
    			ID   int
    			Name string
    			Toy  Toy `gorm:"polymorphic:Owner;"`
    		}
    
    		s, err := schema.Parse(&Cat{}, &sync.Map{}, schema.NamingStrategy{})
    		if err != nil {
    			t.Fatalf("Failed to parse schema, got error %v", err)
    		}
    
    		checkEmbeddedRelations(t, s.Relationships.EmbeddedRelations, map[string]EmbeddedRelations{
    			"Cat": {
    				Relations: map[string]Relation{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

            given:
            comparer = ExhaustiveLinesSearcher.useUnifiedDiff()
            def expectedLines = ["cat", "bird", "dog"]
            def actualLines = ["kangaroo", "cat", "llama", "dog", "turtle", "cat", "moose", "dog"]
    
            when:
            comparer.assertLinesContainedIn(expectedLines, actualLines)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. hack/verify-e2e-test-ownership.sh

        echo "about to  ${results_jq}..."
        cat -n "${results_jq}"
        echo
      fi
      <"${spec_summaries}" jq --slurp --from-file "${results_jq}" > "${results_json}"
    }
    
    # summarize e2e test policy results
    # output to ${summary_json}
    function generate_summary_json() {
      summary_jq=${tmpdir}/summary.jq
      cat >"${summary_jq}" <<EOS
      . as \$results |
      # for each policy category
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 06:46:18 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh

    # license that can be found in the LICENSE file.
    
    COMMAND="mksysnum_plan9.sh $@"
    
    cat <<EOF
    // $COMMAND
    // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
    
    package plan9
    
    const(
    EOF
    
    SP='[ 	]' # space or tab
    sed "s/^#define${SP}\\([A-Z0-9_][A-Z0-9_]*\\)${SP}${SP}*\\([0-9][0-9]*\\)/SYS_\\1=\\2/g" \
    	< $1 | grep -v SYS__
    
    cat <<EOF
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 459 bytes
    - Viewed (0)
Back to top