Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 960 for Unused2 (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithWildcardType {
    
        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithWildcardType {
    
        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/kubelet/logs/container_log_manager.go

    // filterUnusedLogs splits logs into 2 groups, the 1st group is in used logs,
    // the second group is unused logs.
    func filterUnusedLogs(logs []string) (inuse []string, unused []string) {
    	for _, l := range logs {
    		if isInUse(l, logs) {
    			inuse = append(inuse, l)
    		} else {
    			unused = append(unused, l)
    		}
    	}
    	return inuse, unused
    }
    
    // isInUse checks whether a container log file is still inuse.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. pkg/kube/krt/singleton.go

    	}
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) dump() {
    	log.Errorf(">>> static[%v]: %+v<<<", ptr.TypeName[T](), d.val.Load())
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // 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
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    void run() {
                        println "this.value = " + value.getOrNull()
                        println "this.unused = " + unused.getOrNull()
                        println "this.bean.value = " + bean.value.getOrNull()
                        println "this.bean.unused = " + bean.unused.getOrNull()
                        println "this.unusedBean.value = " + unusedBean.value.getOrNull()
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top