Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 380 for Identical (0.19 sec)

  1. src/cmd/compile/internal/types2/typeset.go

    		return f(nil)
    	}
    	for _, t := range s.terms {
    		assert(t.typ != nil)
    		// x == under(x) for ~x terms
    		u := t.typ
    		if !t.tilde {
    			u = under(u)
    		}
    		if debug {
    			assert(Identical(u, under(u)))
    		}
    		if !f(u) {
    			return false
    		}
    	}
    	return true
    }
    
    // topTypeSet may be used as type set for the empty interface.
    var topTypeSet = _TypeSet{terms: allTermlist}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/os/types.go

    // SameFile reports whether fi1 and fi2 describe the same file.
    // For example, on Unix this means that the device and inode fields
    // of the two underlying structures are identical; on other systems
    // the decision may be based on the path names.
    // SameFile only applies to results returned by this package's [Stat].
    // It returns false in other cases.
    func SameFile(fi1, fi2 FileInfo) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/named.go

    // corresponding object, and that object's type is the (possibly generic) Named
    // type. Declared Named types are identical if and only if their pointers are
    // identical. On the other hand, multiple instantiated Named types may be
    // identical even though their pointers are not identical. One has to use
    // Identical to compare them. For instantiated named types, their obj is a
    // synthetic placeholder that records their position of the corresponding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    		return m.t&argPointer != 0
    
    	case *types.Array:
    		// Same as slice.
    		if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 {
    			return true // %s matches []byte
    		}
    		// Recur: []int matches %d.
    		return m.match(typ.Elem(), false)
    
    	case *types.Slice:
    		// Same as array.
    		if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.util.internal.TextUtil
    
    abstract class AbstractModule implements Module {
        /**
         Last modified date for writeZipped to be able to create zipFiles with identical hashes
         */
        private static Date lmd = new Date(ZipCopyAction.CONSTANT_TIME_FOR_ZIP_ENTRIES)
    
        private boolean hasModuleMetadata
        private Closure<?> onEveryFile
    
        Map<String, String> attributes = [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// CBOR supports distinct types for IEEE-754 float16, float32, and float64. Store
    		// floats in the smallest width that preserves value so that equivalent float32 and
    		// float64 values encode to identical bytes, as they do in a JSON
    		// encoding. Satisfies one of the "Core Deterministic Encoding Requirements".
    		ShortestFloat: cbor.ShortestFloat16,
    
    		// ShortestFloat doesn't apply to NaN or Inf values. Inf values are losslessly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/go/types/named_test.go

    	}
    
    	Inst := Unalias(pkg.Scope().Lookup("Inst").Type()).(*Pointer).Elem().(*Named)
    	Node := firstFieldType(Inst)
    	Tree := firstFieldType(Node)
    	if !Identical(Inst, Tree) {
    		t.Fatalf("Not a cycle: got %v, want %v", Tree, Inst)
    	}
    	if Inst != Tree {
    		t.Errorf("Duplicate instances in cycle: %s (%p) -> %s (%p) -> %s (%p)", Inst, Inst, Node, Node, Tree, Tree)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/go/types/typeset.go

    		return f(nil)
    	}
    	for _, t := range s.terms {
    		assert(t.typ != nil)
    		// x == under(x) for ~x terms
    		u := t.typ
    		if !t.tilde {
    			u = under(u)
    		}
    		if debug {
    			assert(Identical(u, under(u)))
    		}
    		if !f(u) {
    			return false
    		}
    	}
    	return true
    }
    
    // topTypeSet may be used as type set for the empty interface.
    var topTypeSet = _TypeSet{terms: allTermlist}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. test/codegen/stack.go

    	for i := 0; i < 2; i++ {
    		defer func() {}()
    	}
    	// amd64:`CALL\truntime\.deferprocStack`
    	defer func() {}()
    }
    
    // Check that stack slots are shared among values of the same
    // type, but not pointer-identical types. See issue 65783.
    
    func spillSlotReuse() {
    	// The return values of getp1 and getp2 need to be
    	// spilled around the calls to nopInt. Make sure that
    	// spill slot gets reused.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. pilot/pkg/config/monitor/file_snapshot.go

    		}
    		return nil
    	})
    	if err != nil {
    		log.Warnf("failure during filepath.Walk: %v", err)
    	}
    
    	// Sort by the config IDs.
    	sort.Sort(byKey(result))
    	return result, err
    }
    
    // parseInputs is identical to crd.ParseInputs, except that it returns an array of config pointers.
    func parseInputs(data []byte, domainSuffix string) ([]*config.Config, error) {
    	configs, _, err := crd.ParseInputs(string(data))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top