Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 470 for sistema (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        writer.close();
    
        // First check that we can't find it without setting the context loader.
        // This is a sanity check that the test doesn't spuriously pass because
        // the resource is visible to the system class loader.
        assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName()));
    
        // Now set the context loader to one that should find the resource.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/TestPlatform.java

    /** @author Chris Povirk */
    @GwtCompatible(emulated = true)
    class TestPlatform {
      static boolean intsCanGoOutOfRange() {
        return false;
      }
    
      static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 16:00:00 GMT 2023
    - 946 bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java

            Headers responseHeaders = response.headers();
            for (int i = 0; i < responseHeaders.size(); i++) {
              System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
            }
    
            throw new IOException("Unexpected code " + response);
          }
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 9.3K bytes
    - Viewed (2)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                final MavenProject mavenProject,
                Throwable t,
                final long buildStartTime) {
            // record the error and mark the project as failed
            long buildEndTime = System.currentTimeMillis();
            buildContext.getResult().addException(t);
            buildContext.getResult().addBuildSummary(new BuildFailure(mavenProject, buildEndTime - buildStartTime, t));
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                        byte[] sessionNonce = new byte[16];
                        System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                        System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                        MD4 md4 = new MD4();
                        md4.update(responseKeyNT);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
              int pos;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/FileBackedOutputStream.java

                @Override
                protected void finalize() {
                  try {
                    reset();
                  } catch (Throwable t) {
                    t.printStackTrace(System.err);
                  }
                }
              };
        } else {
          source =
              new ByteSource() {
                @Override
                public InputStream openStream() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          for (Certificate certificate : response.handshake().peerCertificates()) {
            System.out.println(CertificatePinner.pin(certificate));
          }
        }
      }
    
      public static void main(String... args) throws Exception {
        new CertificatePinning().run();
      }
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 08 21:30:01 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsTarget() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top