Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 410 for short (0.04 sec)

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

      Double generateDoubleObject() {
        return new Double(generateDouble());
      }
    
      @Generates
      short generateShort() {
        return (short) generateInt();
      }
    
      @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here?
      @Generates
      Short generateShortObject() {
        return new Short(generateShort());
      }
    
      @Generates
      byte generateByte() {
        return (byte) generateInt();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/goroot_executable_trimpath.txt

    # should be able to locate its GOROOT using os.Executable.
    #
    # (This also tests a 'go' command built with -trimpath
    # that is not cross-compiled, since we need to build that
    # configuration for the test anyway.)
    
    [short] skip 'builds and links another cmd/go'
    
    mkdir $WORK/new/bin
    mkdir $WORK/new/bin/${GOOS}_${GOARCH}
    
    # In this test, we are specifically checking the logic for deriving
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/godebug_default.txt

    stdout panicnil=1
    stdout asynctimerchan=0
    
    # Invalid //go:debug line should be diagnosed at build.
    ! go build -tags godebugbad
    stderr 'invalid //go:debug: value contains space'
    
    [short] skip
    
    # Programs in Go 1.21 work module should trigger run-time error.
    cp go.mod.21 go.mod
    ! go run .
    stderr 'panic: panic called with nil argument'
    
    ! go run rsc.io/panicnil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    #
    # We don't have a copy of Go 1.16 handy, but we can simulate it by editing the
    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    # This module selects the same versions in Go 1.16 and 1.17 for all modules
    # that provide packages (or test dependencies of packages) imported by the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/mdo/reader.vm

         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return short
         */
        private short getShortValue(String s, String attribute, XMLStreamReader parser, boolean strict)
                throws XMLStreamException {
            if (s != null) {
                try {
                    return Short.valueOf(s).shortValue();
                } catch (NumberFormatException nfe) {
                    if (strict) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

            wrapperToPrimitiveMap.put(Boolean.class, Boolean.TYPE);
            wrapperToPrimitiveMap.put(Character.class, Character.TYPE);
            wrapperToPrimitiveMap.put(Byte.class, Byte.TYPE);
            wrapperToPrimitiveMap.put(Short.class, Short.TYPE);
            wrapperToPrimitiveMap.put(Integer.class, Integer.TYPE);
            wrapperToPrimitiveMap.put(Long.class, Long.TYPE);
            wrapperToPrimitiveMap.put(Float.class, Float.TYPE);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      public ClassSanityTester() {
        // TODO(benyu): bake these into ArbitraryInstances.
        setDefault(byte.class, (byte) 1);
        setDefault(Byte.class, (byte) 1);
        setDefault(short.class, (short) 1);
        setDefault(Short.class, (short) 1);
        setDefault(int.class, 1);
        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
        setDefault(Long.class, 1L);
        setDefault(float.class, 1F);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/vcs.go

    	}
    
    	var tags []string
    	for _, tag := range f[3:] {
    		if tag != "tip" {
    			tags = append(tags, tag)
    		}
    	}
    	sort.Strings(tags)
    
    	info := &RevInfo{
    		Origin: &Origin{
    			Hash: hash,
    		},
    		Name:    hash,
    		Short:   ShortenSHA1(hash),
    		Time:    time.Unix(t, 0).UTC(),
    		Version: version,
    		Tags:    tags,
    	}
    	return info, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testToArray_withConversion() {
        float[] array = {(float) 0, (float) 1, (float) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        }
      }
    
      public void testToArray_withConversion() {
        int[] array = {0, 1, 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top