Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 545 for names_ (0.13 sec)

  1. src/syscall/dirent_test.go

    		var consumed, count int
    		consumed, count, names = syscall.ParseDirent(buf[:n], -1, names)
    		t.Logf("ParseDirent: %d new name(s)", count)
    		if consumed != n {
    			t.Fatalf("ParseDirent: consumed %d bytes; expected %d", consumed, n)
    		}
    	}
    
    	slices.Sort(names)
    	t.Logf("names: %q", names)
    
    	if len(names) != 10 {
    		t.Errorf("got %d names; expected 10", len(names))
    	}
    	for i, name := range names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/syscall/dirent.go

    			break
    		}
    		name := rec[namoff : namoff+namlen]
    		for i, c := range name {
    			if c == 0 {
    				name = name[:i]
    				break
    			}
    		}
    		// Check for useless names before allocating a string.
    		if string(name) == "." || string(name) == ".." {
    			continue
    		}
    		max--
    		count++
    		names = append(names, string(name))
    	}
    	return origlen - len(buf), count, names
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionFile.kt

         *
         * @see KaResolveExtensionFile
         */
        public abstract fun getTopLevelClassifierNames(): Set<Name>
    
        /**
         * Returns the set of top-level callable (functions and properties) names in the file.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/scopes/KtCompositeScope.kt

            }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            sequence {
                subScopes.forEach { yieldAll(it.getCallableSymbols(names)) }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10FileScope.kt

                        yield(ktSymbol)
                    }
                }
            }
        }
    
        override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

    import org.jetbrains.kotlin.fir.resolve.providers.symbolProvider
    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.platform.jvm.isJvm
    
    /**
     * Provides top-level names for classifiers and callables in given packages. Apart from names found in sources and binaries,
     * [DeclarationsInPackageProvider] also collects names for classifiers and callables generated by
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	names1, err := df.Readdirnames(1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err = df.Seek(0, 0); err != nil {
    		t.Fatal(err)
    	}
    	names2, err := df.Readdirnames(0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(names2) != 3 {
    		t.Fatalf("first names: %v, second names: %v", names1, names2)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/scopes/KtCompositeTypeScope.kt

                subScopes.forEach { yieldAll(it.getCallableSignatures(nameFilter)) }
            }
        }
    
        override fun getCallableSignatures(names: Collection<Name>): Sequence<KaCallableSignature<*>> = withValidityAssertion {
            sequence {
                subScopes.forEach { yieldAll(it.getCallableSignatures(names)) }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/TestScopeRenderer.kt

        }
    }
    
    /**
     * Render the names contained in the scope, provided by [KaScope.getPossibleClassifierNames] and [KaScope.getPossibleCallableNames].
     * Scope tests should not forget checking contained names, as they're a public part of the [KaScope] API.
     *
     * Note: Many scopes wouldn't work correctly if the contained name sets were broken, as these names are often the basis for the search.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatingTypeScope.kt

        }
    
        override fun getClassifierSymbols(names: Collection<Name>): Sequence<KaClassifierSymbol> = withValidityAssertion {
            firScope.getClassifierSymbols(names, builder)
        }
    
        override fun getConstructors(): Sequence<KaConstructorSymbol> = withValidityAssertion {
            firScope.getConstructors(builder)
        }
    
        override fun mayContainName(name: Name): Boolean = withValidityAssertion {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top