Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for Trune (0.17 sec)

  1. test/convert1.go

    	_ = Tstring(s)
    	_ = Tbyte(s)
    	_ = Trune(s)
    	_ = Tint64(s) // ERROR "cannot convert.*Tint64|invalid type conversion"
    
    	_ = string(sb)
    	_ = []byte(sb)
    	_ = []rune(sb)  // ERROR "cannot convert.*\[\]rune|invalid type conversion"
    	_ = []int64(sb) // ERROR "cannot convert.*\[\]int64|invalid type conversion"
    	_ = Tstring(sb)
    	_ = Tbyte(sb)
    	_ = Trune(sb)  // ERROR "cannot convert.*Trune|invalid type conversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.4K bytes
    - Viewed (0)
  2. test/convlit.go

    var _ []byte = ss // ERROR "cannot use|incompatible|invalid"
    
    // named slice is now ok
    type Trune []rune
    type Tbyte []byte
    
    var _ = Trune("abc") // ok
    var _ = Tbyte("abc") // ok
    
    // implicit is still not
    var _ Trune = "abc" // ERROR "cannot use|incompatible|invalid|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    					break
    				}
    			}
    		}
    
    		if i >= 0 {
    			// Found matching entry to prune.
    			pruneBeneath[loc.ID] = true
    
    			// Remove the matching location.
    			if i == len(loc.Line)-1 {
    				// Matched the top entry: prune the whole location.
    				prune[loc.ID] = true
    			} else {
    				loc.Line = loc.Line[i+1:]
    			}
    		}
    	}
    
    	// Prune locs from each Sample
    	for _, sample := range p.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/prune.go

    		if err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    		if err := structuralobjectmeta.Coerce(nil, obj, p.rootSchema, true, true); err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    		pruning.Prune(obj, p.rootSchema, true)
    		s.Default.Object, _, err = acc(obj)
    		if err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 23 20:20:54 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. src/internal/profile/prune.go

    					}
    				}
    			}
    		}
    
    		if i >= 0 {
    			// Found matching entry to prune.
    			pruneBeneath[loc.ID] = true
    
    			// Remove the matching location.
    			if i == len(loc.Line)-1 {
    				// Matched the top entry: prune the whole location.
    				prune[loc.ID] = true
    			} else {
    				loc.Line = loc.Line[i+1:]
    			}
    		}
    	}
    
    	// Prune locs from each Sample
    	for _, sample := range p.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. test/rune.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test rune constants, expressions and types.
    // Compiles but does not run.
    
    package rune
    
    var (
    	r0 = 'a'
    	r1 = 'a'+1
    	r2 = 1+'a'
    	r3 = 'a'*2
    	r4 = 'a'/2
    	r5 = 'a'<<1
    	r6 = 'b'<<2
    	r7 int32
    
    	r = []rune{r0, r1, r2, r3, r4, r5, r6, r7}
    )
    
    var (
    	f0 = 1.2
    	f1 = 1.2/'a'
    
    	f = []float64{f0, f1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 603 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt

    # the graph fetch as a control.
    #
    # PRUNE-LABEL: func @main
    # PRUNE-SAME:  control_outputs = "AssignAdd"
    # PRUNE-SAME:  inputs = ""
    # PRUNE-SAME:  outputs = ""
    # PRUNE-NOT:       "tf.Assign"
    # PRUNE-NOT:       "tf.Identity"
    # PRUNE-DAG:       %[[CONST:.*]], %{{.*}} = tf_executor.island wraps "tf.Const"
    # PRUNE-DAG:       %[[VAR:.*]], %{{.*}} = tf_executor.island wraps "tf.VariableV2"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm.go

    		if !s.XEmbeddedResource {
    			clone := *s
    			clone.XEmbeddedResource = true
    			s = &clone
    		}
    	}
    	prune(obj, s, &opts)
    	sort.Strings(opts.UnknownFieldPaths)
    	return opts.UnknownFieldPaths
    }
    
    // Prune is equivalent to
    // PruneWithOptions(obj, s, isResourceRoot, structuralschema.UnknownFieldPathOptions{})
    func Prune(obj interface{}, s *structuralschema.Structural, isResourceRoot bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt

    #
    # PRUNE-LABEL: func @main
    # PRUNE-SAME:  (%[[ARG_0:.*]]: tensor<f32>, %[[ARG_1:.*]]: tensor<f32>) -> (tensor<f32>, tensor<f32>, tensor<*xf32>)
    # PRUNE-SAME:  control_outputs = ""
    # PRUNE-SAME:  inputs = "z:1,z:2"
    # PRUNE-SAME:  outputs = "z:2,z:1,a:0"
    # PRUNE-NOT:       "tf.Const"
    # PRUNE-NOT:       "tf.VariableV2"
    # PRUNE-NOT:       "tf.Assign"
    # PRUNE-NOT:       "tf.Identity"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  10. src/unicode/example_test.go

    	// 	is graphic rune
    	// 	is number rune
    	// 	is printable rune
    	// For 'Ὂ':
    	// 	is graphic rune
    	// 	is letter rune
    	// 	is printable rune
    	// 	is upper case rune
    	// For 'g':
    	// 	is graphic rune
    	// 	is letter rune
    	// 	is lower case rune
    	// 	is printable rune
    	// For '̀':
    	// 	is graphic rune
    	// 	is mark rune
    	// 	is printable rune
    	// For '9':
    	// 	is digit rune
    	// 	is graphic rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
Back to top