Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 399 for Schuck (0.15 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
        assertEquals(InetAddress.getByName("192.168.0.1"), mapped);
    
        // check upper case
        mappedStr = "::FFFF:192.168.0.1";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
        mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

            if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) {
                // this is not too good, probably should better pass the address and check that it is a netbios one.
                // While we could look up the domain controller/KDC we cannot really make the java kerberos implementation
                // use a KDC of our choice.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       * without being so large that it causes problems for systems with atypical memory management if
       * approaches 2 or 3 are used.
       */
      private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
    
      private ByteStreams() {}
    
      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        try {
          Hashing.hmacMd5(badKey);
          fail();
        } catch (IllegalArgumentException expected) {
        } catch (NullPointerException toleratedOnAndroid) {
          // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android.
        }
      }
    
      public void testEmptyInputs() throws Exception {
        String knownOutput = "8cbf764cbe2e4623d99a41354adfd390";
    
        Mac mac = Mac.getInstance("HmacMD5");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SuppliersTest.java

                    waitingThreads++;
                  }
                }
                return waitingThreads;
              }
    
              @Override
              public Boolean get() {
                // Check that this method is called exactly once, by the first
                // thread to synchronize.
                long t0 = System.nanoTime();
                while (waitingThreads() != numThreads - 1) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                    waitingThreads++;
                  }
                }
                return waitingThreads;
              }
    
              @Override
              public Boolean get() {
                // Check that this method is called exactly once, by the first
                // thread to synchronize.
                long t0 = System.nanoTime();
                while (waitingThreads() != numThreads - 1) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Attach a listener
        SingleCallListener listener = new SingleCallListener();
        compound.addListener(listener, directExecutor());
    
        // Satisfy each input and check the output
        assertFalse(compound.isDone());
        future1.set(DATA1);
        assertFalse(compound.isDone());
        future2.set(DATA2);
        assertFalse(compound.isDone());
        listener.expectCall();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

             * gets occasionally extended by newer Maven versions). This imposes the risk for existing plugins to
             * unintentionally use such a magic expression for an ordinary property. So here we check whether we
             * ended up with a magic value that is not compatible with the type of the configured mojo parameter (a string
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
    
      public void testCopyFileChannel() throws IOException {
        final int chunkSize = 14407; // Random prime, unlikely to match any internal chunk size
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        WritableByteChannel outChannel = Channels.newChannel(out);
    
        File testFile = createTempFile();
        byte[] dummyData = newPreFilledByteArray(chunkSize);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
Back to top