Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 718 for anotherOk (0.3 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        private fun FirScope.isScopeForClassCloserThanAnotherScopeForClass(another: FirScope, from: KtClassOrObject): Boolean {
            // Make sure both are scopes for classes
            if (!isScopeForClass() || !another.isScopeForClass()) return false
    
            if (this == another) return false
    
            val classId = correspondingClassIdIfExists()
            val classIdOfAnother = another.correspondingClassIdIfExists()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/SimpleAnalysisDemo.kt

                        val myD = newD("shared")
    
                        val c1 = c(1)
                        c1.x = c1.f(c1.y)
                        c1.d = myD
    
                        c(2) {
                            x = f("another test")
                            this.d = myD
                        }
                    """.trimIndent()
                )
            )
        }
    }
    
    
    object BuilderFunctionsDemo {
        @JvmStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/MonotonicClock.java

        }
    
        /**
         * Syncs our internal clock with the system clock and returns the new time.
         * Marks the current time as the last synchronization point, unless another thread already did a synchronization in the meantime.
         */
        private long sync(long syncMillis) {
            long newSyncMillis = advance(timeSource.currentTimeMillis());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolByReferenceTest.kt

            )
        }
    
        override fun getAllowedContainingFiles(mainFile: KtFile, testServices: TestServices): Set<KtFile> {
            // The reference may be from another file, so we need to allow all main test files
            return testServices.ktTestModuleStructure.allMainKtFiles.toSet()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

                        LOGGER.debug("Lock on {} requested by another process - releasing lock.", cacheDisplayName);
                        releaseLockIfHeld();
                        signal.trigger();
                    } else {
                        // Lock is in use - mark as contended
                        LOGGER.debug("Lock on {} requested by another process - lock is in use and will be released when operation completed.", cacheDisplayName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModuleStateModificationListener.kt

         *
         * #### Examples
         *
         *  - The name of the module is being changed.
         *  - The module's content roots are being changed, such as adding another source folder to a source module.
         *  - If module A depends on module B and module B is being removed, in addition to the removal event for module B, module A also
         *    receives an update event.
         */
        UPDATE,
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedDecoderTest.groovy

     */
    
    package org.gradle.internal.serialize.kryo
    
    import spock.lang.Specification
    
    class KryoBackedDecoderTest extends Specification {
        def "can read from stream and then restart to use another stream"() {
            def input1 = encoded("string 1")
            def input2 = encoded("string 2")
    
            given:
            def decoder = new KryoBackedDecoder(input1)
            decoder.readString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/cgo-callback.go

    }
    
    static void bar() {
        go_callback2();
    }
    */
    import "C"
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    )
    
    //export go_callback
    func go_callback() {
    	// Do another call into C, just to test that path too.
    	C.bar()
    }
    
    //export go_callback2
    func go_callback2() {
    	runtime.GC()
    }
    
    func main() {
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

            return loaded.get();
        }
    
        @Override
        public void loadLocally(HashCode key, Consumer<? super File> reader) {
            // We need to lock other processes out here because garbage collection can be under way in another process
            persistentCache.withFileLock(() -> {
                // Additional locking necessary because of https://github.com/gradle/gradle/issues/3537
                lock.readLock().lock();
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/os/stat_windows.go

    	err = syscall.GetFileAttributesEx(namep, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa)))
    	if err == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT == 0 {
    		// Not a surrogate for another named entity, because it isn't any kind of reparse point.
    		// The information we got from GetFileAttributesEx is good enough for now.
    		fs := newFileStatFromWin32FileAttributeData(&fa)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top