Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 960 for Unused2 (0.12 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

     * @param action the function to be adapted.
     *
     * @see [KotlinClosure1]
     */
    fun <T> Any.delegateClosureOf(action: T.() -> Unit) =
        object : Closure<Unit>(this, this) {
            @Suppress("unused") // to be called dynamically by Groovy
            fun doCall() = uncheckedCast<T>(delegate).action()
        }
    
    
    /**
     * Adapts a parameterless Kotlin function to a parameterless Groovy [Closure].
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/lambda_unused_invoke.kt

    fun test() {
        "unused"
        { <expr>5</expr> }.invoke()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 59 bytes
    - Viewed (0)
  3. platforms/core-runtime/instrumentation-agent/src/main/java/org/gradle/instrumentation/agent/Agent.java

            doMain(inst);
        }
    
        static void doMain(Instrumentation inst) {
            instrumentation = inst;
        }
    
        @SuppressWarnings("unused")  // Used reflectively.
        public static boolean isApplied() {
            return instrumentation != null;
        }
    
        @SuppressWarnings("unused")  // Used reflectively.
        public static boolean installTransformer(ClassFileTransformer transformer) {
            Instrumentation inst = instrumentation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

          for (Parameter param : Invokable.from(method).getParameters()) {
            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
      @SuppressWarnings("unused")
      private void anotherMethod(int i, String s) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ParameterTest.java

          for (Parameter param : Invokable.from(method).getParameters()) {
            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
      @SuppressWarnings("unused")
      private void anotherMethod(int i, String s) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNull_unsupported() {
        E[] array = createArrayWithNullElement();
    
        try {
          // TODO(kak): remove unused capture
          Object unused = getSubjectGenerator().create(array);
          fail("Creating a collection containing null should fail");
        } catch (NullPointerException expected) {
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GenerateScriptPluginAdapters.kt

        @get:InputFiles
        @get:IgnoreEmptyDirectories
        @get:PathSensitive(PathSensitivity.RELATIVE)
        @Suppress("unused")
        internal
        val scriptFiles: Set<File>
            get() = scriptPluginFilesOf(plugins)
    
        @TaskAction
        @Suppress("unused")
        internal
        fun generate() =
            outputDirectory.withOutputDirectory { outputDir ->
                for (scriptPlugin in plugins) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.get());
          assertFalse(at.compareAndSet(unused, x));
          assertBitEquals(prev, at.get());
          assertTrue(at.compareAndSet(prev, x));
          assertBitEquals(x, at.get());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammarTest.kt

            assertFileAnnotationConsumed("""@file : JvmName ( "Foo" )""")
    
            assertFileAnnotationConsumed("""@file:[SuppressWarnings Incubating Suppress("unused","nothing_to_inline")]""")
            assertFileAnnotationConsumed("""@file : [ SuppressWarnings Incubating Suppress ( "unused" , "nothing_to_inline" ) ]""")
        }
    
    
        @Test
        fun `can parse multi file annotation`() {
            assertFileAnnotationConsumed("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/types.go

    }
    
    // ImageGC is responsible for performing garbage collection of unused images.
    type ImageGC interface {
    	// DeleteUnusedImages deletes unused images.
    	DeleteUnusedImages(ctx context.Context) error
    }
    
    // ContainerGC is responsible for performing garbage collection of unused containers.
    type ContainerGC interface {
    	// DeleteAllUnusedContainers deletes all unused containers, even those that belong to pods that are terminated, but not deleted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top