Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 262 for getBad (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    public class BiMapInverseTester<K, V> extends AbstractBiMapTester<K, V> {
    
      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                     */
                    public String getBar() {
                        return "bar";
                    }
                }
            """
        }
    
        private void badCode() {
            file("src/main/java/com/example/Foo.java").java """
                package com.example;
    
                public class Foo {
                    public String getBar() {
                        return "bar";
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyJavaInterOpIntegrationTest.groovy

                            Map<Integer, Boolean> map = new LinkedHashMap<>();
                            map.put(1, true);
                            map.put(2, false);
                            t.getMap().set(map);
                        });
                    }
                }
            """
        }
    
        @Override
        void pluginSetsCalculatedValuesUsingCallable() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    	if err = getsockname(fd, &rsa, &len); err != nil {
    		return
    	}
    	return anyToSockaddr(fd, &rsa)
    }
    
    //sys	getcwd(buf []byte) (err error)
    
    const ImplementsGetwd = true
    
    func Getwd() (ret string, err error) {
    	for len := uint64(4096); ; len *= 2 {
    		b := make([]byte, len)
    		err := getcwd(b)
    		if err == nil {
    			i := 0
    			for b[i] != 0 {
    				i++
    			}
    			return string(b[0:i]), nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. src/os/proc.go

    }
    
    func runtime_args() []string // in package runtime
    
    // Getuid returns the numeric user id of the caller.
    //
    // On Windows, it returns -1.
    func Getuid() int { return syscall.Getuid() }
    
    // Geteuid returns the numeric effective user id of the caller.
    //
    // On Windows, it returns -1.
    func Geteuid() int { return syscall.Geteuid() }
    
    // Getgid returns the numeric group id of the caller.
    //
    // On Windows, it returns -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/syscall/syscall_netbsd.go

    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.foo()"),
                    added("Method", "SourceKt.fooExt(java.lang.String)"),
                    added("Method", "SourceKt.fooExt(int)"),
                    added("Method", "SourceKt.getBar()"),
                    added("Method", "SourceKt.getBarExt(java.lang.String)"),
                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy

        String toString() {
            return "[operation $name]"
        }
    
        Instant getEnd() {
            def instant = end.get()
            if (instant == null) {
                throw new IllegalStateException("Operation '$name' has not completed yet.")
            }
            return instant
        }
    
        Duration getDuration() {
            return getEnd() - start
        }
    
        void completed(Instant when) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/MacHashFunction.java

      private final Key key;
    
      private final String toString;
      private final int bits;
      private final boolean supportsClone;
    
      MacHashFunction(String algorithmName, Key key, String toString) {
        this.prototype = getMac(algorithmName, key);
        this.key = checkNotNull(key);
        this.toString = checkNotNull(toString);
        this.bits = prototype.getMacLength() * Byte.SIZE;
        this.supportsClone = supportsClone(prototype);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top