Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for Structures (0.58 sec)

  1. src/cmd/compile/internal/types/sizeof_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"reflect"
    	"testing"
    	"unsafe"
    )
    
    // Assert that the size of important structures do not change unexpectedly.
    
    func TestSizeof(t *testing.T) {
    	const _64bit = unsafe.Sizeof(uintptr(0)) == 8
    
    	var tests = []struct {
    		val    interface{} // type as a value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      /**
       * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/sizes.go

    		// field f of x, but at least 1."
    		max := int64(1)
    		for _, f := range t.fields {
    			if a := s.Alignof(f.typ); a > max {
    				max = a
    			}
    		}
    		return max
    	case *Slice, *Interface:
    		// Multiword data structures are effectively structs
    		// in which each element has size WordSize.
    		// Type parameters lead to variable sizes/alignments;
    		// StdSizes.Alignof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/base/base.go

    	// handle each one separately so that they all have the leading "go: " prefix.
    	// A plain interface check is not good enough because there might be
    	// other kinds of structured errors that are logically one unit and that
    	// add other context: only handling the wrapped errors would lose
    	// that context.
    	if err != nil && reflect.TypeOf(err).String() == "*errors.joinError" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtLibrarySourceModuleImpl.kt

    package org.jetbrains.kotlin.analysis.project.structure.impl
    
    import com.intellij.openapi.project.Project
    import com.intellij.psi.search.GlobalSearchScope
    import org.jetbrains.kotlin.analysis.project.structure.KtLibraryModule
    import org.jetbrains.kotlin.analysis.project.structure.KtLibrarySourceModule
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.project.structure.computeTransitiveDependsOnDependencies
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 15:47:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtSourceModuleBuilder.kt

     */
    
    package org.jetbrains.kotlin.analysis.project.structure.builder
    
    import com.intellij.openapi.vfs.VirtualFile
    import com.intellij.psi.PsiManager
    import com.intellij.psi.search.GlobalSearchScope
    import org.jetbrains.kotlin.analysis.project.structure.KtSourceModule
    import org.jetbrains.kotlin.analysis.project.structure.impl.KtSourceModuleImpl
    import org.jetbrains.kotlin.analysis.project.structure.impl.collectSourceFilePaths
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/KtStaticModuleDependentsProvider.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.standalone.base.project.structure
    
    import com.intellij.util.containers.ContainerUtil.createConcurrentSoftMap
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.project.structure.allDirectDependencies
    import org.jetbrains.kotlin.analysis.project.structure.impl.KotlinModuleDependentsProviderBase
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Mar 18 21:14:36 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtScriptModuleImpl.kt

     */
    
    package org.jetbrains.kotlin.analysis.project.structure.impl
    
    import com.intellij.openapi.project.Project
    import com.intellij.psi.search.GlobalSearchScope
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.project.structure.KtScriptModule
    import org.jetbrains.kotlin.analysis.project.structure.computeTransitiveDependsOnDependencies
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 15:47:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtSourceModuleImpl.kt

     */
    
    package org.jetbrains.kotlin.analysis.project.structure.impl
    
    import com.intellij.openapi.project.Project
    import com.intellij.psi.PsiFileSystemItem
    import com.intellij.psi.search.GlobalSearchScope
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.project.structure.KtSourceModule
    import org.jetbrains.kotlin.analysis.project.structure.computeTransitiveDependsOnDependencies
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 15:47:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top