Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 109 for deduplicated (0.17 sec)

  1. test/fixedbugs/issue35291.go

    // errorcheck
    
    // Copyright 2019 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.
    
    // Check error message for duplicated index in slice literal
    
    package p
    
    var s = []string{
    	1: "dup",
    	1: "dup", // ERROR "duplicate index in slice literal: 1|duplicate value for index 1|duplicate index 1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 383 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/batch_function_deduplicate_failed.mlir

    // RUN: not tf-tfrt-opt -tfrt-deduplicate-functions-invoked-by-batch-function %s 2>&1 | FileCheck %s
    
    // This test verifies the error when two functions are different but invoked by
    // the batch functions with same shared_name.
    
    func.func private @batch_0(%arg0: tensor<?x?xi32>) -> tensor<*xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. test/fixedbugs/issue7153.go

    // errorcheck
    
    // Copyright 2014 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.
    
    // Issue 7153: array invalid index error duplicated on successive bad values
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 434 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/deduplicate_if_results.mlir

    // RUN: tf-tfrt-opt -split-input-file -tfrt-deduplicate-if-result %s | FileCheck %s -dump-input=fail
    
    func.func private @then(%x: tensor<i32>, %y: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
      func.return %x, %x : tensor<i32>, tensor<i32>
    }
    
    func.func private @else(%x: tensor<i32>, %y: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
      func.return %y, %y : tensor<i32>, tensor<i32>
    }
    
    // CHECK-LABEL: then/tfrt_dedup_results
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 01 23:50:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. test/abi/store_reg_args.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // When the function Store an Arg and also use it in another place,
    // be sure not to generate duplicated OpArgXXXReg values, which confuses
    // the register allocator.
    
    package main
    
    //go:noinline
    //go:registerparams
    func F(x, y float32) {
    	if x < 0 {
    		panic("FAIL")
    	}
    	g = [4]float32{x, y, x, y}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 30 22:10:19 UTC 2021
    - 587 bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/seh.go

    	// as it only contains frame pointer operations,
    	// which are very similar across functions.
    	// These are referenced by .pdata entries using
    	// an RVA, so it is possible, and binary-size wise,
    	// to deduplicate .xdata entries.
    	uwcache := make(map[string]int64) // aux symbol name --> .xdata offset
    	for _, s := range ctxt.Textp {
    		if fi := ldr.FuncInfo(s); !fi.Valid() {
    			continue
    		}
    		uw := ldr.SEHUnwindSym(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/html/template/examplefiles_test.go

    		if err != nil {
    			log.Fatal(err)
    		}
    		defer f.Close()
    		_, err = io.WriteString(f, file.contents)
    		if err != nil {
    			log.Fatal(err)
    		}
    	}
    	return dir
    }
    
    // The following example is duplicated in text/template; keep them in sync.
    
    // Here we demonstrate loading a set of templates from a directory.
    func ExampleTemplate_glob() {
    	// Here we create a temporary directory and populate it with our sample
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/AggregatingProblemConsumerTest.groovy

            for (int i = 0; i < 3; i++) {
                emitter.emit(createMockProblem("foo$i"))
            }
    
            then:
            3 * eventConsumer.progress(_)
        }
    
        def "emit summary if there are deduplicate events"() {
            given:
            def eventConsumer = Mock(ProgressEventConsumer)
            def emitter = new AggregatingProblemConsumer(eventConsumer, { new OperationIdentifier(1) })
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/openapi/maplist_test.go

    			},
    			query: map[string]interface{}{
    				"k":  "a",
    				"v1": "A",
    			},
    			expected: map[string]interface{}{
    				"k":  "a",
    				"v1": "a",
    			},
    		},
    		{
    			name: "keep first entry when duplicated keys are encountered",
    			sts: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type: []string{"array"},
    				},
    				VendorExtensible: spec.VendorExtensible{Extensions: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 18:08:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/maplist_test.go

    			},
    			query: map[string]interface{}{
    				"k":  "a",
    				"v1": "A",
    			},
    			expected: map[string]interface{}{
    				"k":  "a",
    				"v1": "a",
    			},
    		},
    		{
    			name: "keep first entry when duplicated keys are encountered",
    			sts: schema.Structural{
    				Generic: schema.Generic{
    					Type: "array",
    				},
    				Extensions: schema.Extensions{
    					XListType:    &listTypeMap,
    					XListMapKeys: []string{"k"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 18:08:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top