Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,451 for system (0.11 sec)

  1. 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

       * served.
       */
      @Test
      fun retainServedDateFormat() {
        // Serve a response with a non-standard date format that OkHttp supports.
        val lastModifiedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-1))
        val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2))
        val dateFormat: DateFormat = SimpleDateFormat("EEE dd-MMM-yyyy HH:mm:ss z", Locale.US)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    
    
        @Override
        public String toString () {
            return new String("TransCallNamedPipeResponse[" + super.toString() + "]");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    /**
     * Describes a resource being uploaded or downloaded by the repository system.
     *
     */
    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/Log4j2Configuration.java

                    break;
    
                case INFO:
                    value = "info";
                    break;
    
                default:
                    value = "error";
                    break;
            }
            System.setProperty("maven.logging.root.level", value);
        }
    
        @Override
        public void activate() {
            // no op
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. apache-maven/README.txt

      Documentation
      -------------
    
      The most up-to-date documentation can be found at https://maven.apache.org/.
    
      Release Notes
      -------------
    
      The full list of changes, system requirements and related can be found at https://maven.apache.org/docs/history.html.
    
      Installing Maven
      ----------------
    
      For complete documentation see https://maven.apache.org/download.html#Installation
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Aug 12 21:54:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.handshake().cipherSuite());
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new CustomCipherSuites().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  10. 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 {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 9.3K bytes
    - Viewed (0)
Back to top