Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 339 for fakefs (0.39 sec)

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

         *
         * public interface  B: A<String> {
         * }
         * ```
         *
         * In the class scope of `B`, there is a callable symbol `foo` that takes a `String`. This symbol is derived from the original symbol
         * in `A` that takes the type parameter `T` (fake override). Given such a fake override symbol, [unwrapFakeOverrides] recovers the
         * original declared symbol.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/resolver.go

    					name = name[i+1:]
    				}
    				imp = NewPackage(path, name)
    			}
    			// continue to use the package as best as we can
    			imp.fake = true // avoid follow-up lookup failures
    		}
    	}
    
    	// package should be complete or marked fake, but be cautious
    	if imp.complete || imp.fake {
    		check.impMap[key] = imp
    		// Once we've formatted an error message, keep the pkgPathMap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaHashCodeTest.kt

    import org.hamcrest.CoreMatchers.not
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class ProjectSchemaHashCodeTest : TestWithClassPath() {
    
        @Test
        fun `hash code takes configurations into account`() {
    
            assertThat(
                hashCodeFor(
                    configurations = listOf("api")
                ),
                equalTo(
                    hashCodeFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gotoolchain_path.txt

    # The full test of toolchain version selection is in gotoolchain.txt.
    
    [short] skip
    
    env TESTGO_VERSION=go1.21pre3
    
    # Compile a fake toolchain to put in the path under various names.
    env GOTOOLCHAIN=
    mkdir $WORK/bin
    go build -o $WORK/bin/go1.50.0$GOEXE ./fakego.go  # adds .exe extension implicitly on Windows
    
    [!GOOS:plan9] env PATH=$WORK/bin
    [GOOS:plan9] env path=$WORK/bin
    
    go version
    stdout go1.21pre3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 22:21:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/SettingsSchemaAccessorsIntegrationTest.kt

                        println("Plugin extension takes precedence!")
                        configure<my.MySettingsExtension> {
                            action()
                        }
                    }
                """
            )
    
            val result = build("ok")
    
            // then:
            result.assertOutputContains("It's 42!")
            result.assertOutputContains("Plugin extension takes precedence!")
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MethodDescription.java

                    .returns(method.getGenericReturnType())
                    .takes(method.getGenericParameterTypes());
        }
    
        public static MethodDescription of(Constructor<?> constructor) {
            return name("<init>")
                    .owner(constructor.getDeclaringClass())
                    .takes(constructor.getGenericParameterTypes());
        }
    
        private String typeName(Type type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/vendor_test_issue14613.txt

    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor_test.go --
    package main
    
    import (
    	"testing"
    
    	"github.com/clsung/fake"
    )
    
    func TestVendor(t *testing.T) {
    	ret := fake.DoNothing()
    	expected := "Ok"
    	if expected != ret {
    		t.Errorf("fake returned %q, expected %q", ret, expected)
    	}
    }
    
    -- $GOPATH/src/github.com/clsung/go-vendor-issue-14613/./vendor/mylibtesttest/myapp/myapp_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/help.txt

    go help
    stdout 'Go is a tool'
    stdout 'bug.*start a bug report'
    
    # go help bug shows usage for bug
    go help bug
    stdout 'usage: go bug'
    stdout 'bug report'
    
    # go bug help is an error (bug takes no arguments)
    ! go bug help
    stderr 'bug takes no arguments'
    
    # go help mod shows mod subcommands
    go help mod
    stdout 'go mod <command>'
    stdout tidy
    
    # go help mod tidy explains tidy
    go help mod tidy
    stdout 'usage: go mod tidy'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top