Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 212 for Shorts (0.09 seconds)

  1. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] suffix = {(short) 86, (short) 99};
          Short[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      public Hasher putBytes(ByteBuffer bytes) {
        update(bytes);
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putShort(short s) {
        ByteBuffer scratch = scratch();
        scratch.putShort(s);
        return update(scratch, Shorts.BYTES);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putInt(int i) {
        ByteBuffer scratch = scratch();
        scratch.putInt(i);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 12:40:17 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/package-info.java

     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
     *       </ul>
     *   <li>{@link Shorts}
     * </ul>
     *
     * <h3>General static utilities</h3>
     *
     * <ul>
     *   <li>{@link Primitives}
     * </ul>
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.primitives;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jan 03 15:30:05 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Arrange
            short level = 2;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertSame(mockNdrObject, queryPolicy.info);
        }
    
        @ParameterizedTest
        @ValueSource(shorts = { 0, 1, 2, 3, 5, 10, Short.MAX_VALUE, Short.MIN_VALUE })
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. doc/initial/7-ports.md

    ## Ports {#ports}...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jan 22 18:07:49 GMT 2024
    - 19 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

        protected <T> T processVirtualHost(final Function<String, T> func, final T defaultValue) {
            final Tuple3<String, String, String>[] vHosts = ComponentUtil.getFessConfig().getVirtualHosts();
            return LaRequestUtil.getOptionalRequest().map(req -> {
                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/cmd/api/api_test.go

    			required:  []string{"A", "B", "C"},
    			exception: []string{"B"},
    			ok:        true,
    			out:       "",
    		},
    
    		// Test that a feature required on a subset of ports is implicitly satisfied
    		// by the same feature being implemented on all ports. That is, it shouldn't
    		// say "pkg syscall (darwin-amd64), type RawSockaddrInet6 struct" is missing.
    		// See https://go.dev/issue/4303.
    		{
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 02 17:06:27 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. internal/grid/connection_test.go

    				t.Errorf("shouldConnect(%q, %q) != shouldConnect(%q, %q)", hosts[x], hosts[y], hosts[y], hosts[x])
    			}
    			if c.shouldConnect() {
    				should++
    			}
    		}
    		if should < 10 {
    			t.Errorf("host %q only connects to %d hosts", hosts[x], should)
    		}
    		t.Logf("host %q should connect to %d hosts", hosts[x], should)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
            int pointer = 100;
            PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer);
    
            // Verify that the object was created
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

                if (pattern != null) {
                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
        private static Short toShort(final String s) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top