Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 960 for Unused1 (0.2 sec)

  1. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/git/internal/SourceDependencyCleanupIntegrationTest.groovy

            }
            // mark all versions as unused
            versions.each { version ->
                markUnused(version)
            }
            // Remove VCS mappings
            settingsFile.text = ""
            cleanupNow()
    
            when:
            // Not resolving any configurations
            succeeds("tasks", "-PrepoVersion=dummy")
            then:
            // unused VCS working directories are still deleted
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/GeneralGradleDslSchemaTest.kt

            @Configuring
            @Suppress("unused")
            abstract fun configureNestedReceiver(configure: Action<in NestedReceiver>)
        }
    
        private
        abstract class NestedReceiver {
            @get:Restricted
            @Suppress("unused")
            abstract val property: Property<Int>
        }
    
        private
        abstract class UtilsContainer {
            @Restricted
            @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. hack/lint-dependencies.sh

      echo ""
      echo "${noncanonical}"
    fi
    
    unused=$(comm -23 \
      <(go mod edit -json | jq -r '.Replace[] | select(.New.Version != null) | .Old.Path' | sort) \
      <(go list -m -json all | jq -r .Path | sort))
    if [[ -n "${unused}" ]]; then
      echo ""
      echo "Use the given commands to remove pinned module versions that aren't actually used:"
      echo "${unused}" | xargs -L 1 echo 'go mod edit -dropreplace'
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. test/mallocfin.go

    	"time"
    )
    
    const N = 250
    
    type A struct {
    	b *B
    	n int
    }
    
    type B struct {
    	n int
    }
    
    var i int
    var nfinal int
    var final [N]int
    
    // the unused return is to test finalizers with return values
    func finalA(a *A) (unused [N]int) {
    	if final[a.n] != 0 {
    		println("finalA", a.n, final[a.n])
    		panic("fail")
    	}
    	final[a.n] = 1
    	return
    }
    
    func finalB(b *B) {
    	if final[b.n] != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package unusedresult defines an analyzer that checks for unused
    // results of calls to certain pure functions.
    //
    // # Analyzer unusedresult
    //
    // unusedresult: check for unused results of calls to some functions
    //
    // Some functions like fmt.Errorf return a result and have no side
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 793 bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedVersionCleanupIntegrationTest.groovy

            currentModulesMetadataDir = currentModulesDir.file(CacheLayout.META_DATA.key).createDir()
            gcFile.createFile()
        }
    
        def "cleans up unused versions of caches when latest cache requires cleanup"() {
            given:
            gcFile.lastModified = daysAgo(2)
    
            when:
            succeeds("help")
    
            then:
            oldModulesDir.assertDoesNotExist()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/ProblemDefinition.java

    import javax.annotation.Nullable;
    
    /**
     * Describes a specific problem without context.
     * <p>
     * For example, in the domain of Java compilation problems, an unused variable warning could be described as such:
     * <ul>
     *     <li>category: compilation:java</li>
     *     <li>unused variable</li>
     *     <li>severity: WARNING</li>
     *     <li>...</li>
     * </ul>
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. pkg/kube/krt/join.go

    	}
    	return sync
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) name() string { return j.collectionName }
    
    // nolint: unused // (not true, its to implement an interface)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top