Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,451 for Systems (0.08 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
          Response response = chain.proceed(request);
    
          long t2 = System.nanoTime();
          logger.info(String.format("Received response for %s in %.1fms%n%s",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            try {
                lastAccessTime = System.currentTimeMillis();
                return children.containsKey(name);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Check if cache entry is expired
         *
         * @return true if expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() - lastUpdateTime > maxAge;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            try (OutputStream out = sourceFile.openOutputStream(false)) {
                out.write(content.getBytes("UTF-8"));
            }
            sourceFile.close();
    
            // Wait for file system to sync
            Thread.sleep(500);
            System.gc();
            Thread.sleep(200);
    
            // Verify source exists
            CIFSContext verifyContext = createFreshContext();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        }
    
        /**
         * Gets the file system information from the response.
         *
         * @return the filesystem info
         */
        public FileSystemInformation getInfo() {
            return this.info;
        }
    
        /**
         * Gets the file system information from the response cast to the specified type.
         *
         * @param <T> the type of file system information to return
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
                bufferIndex += 4;
    
                // Write file ID (16 bytes)
                byte[] expectedFileId = createTestData(16);
                System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16);
    
                // Read the buffer
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
    
                // Verify the bytes read
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/DuplicateMojoDescriptorException.java

            super("Goal: " + goal + " already exists in the plugin descriptor for prefix: " + goalPrefix
                    + System.lineSeparator() + "Existing implementation is: " + existingImplementation
                    + System.lineSeparator() + "Conflicting implementation is: " + newImplementation);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutTask.java

            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * Returns whether the task has expired.
         *
         * @return whether the task has expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() >= startTime + timeoutMillis;
        }
    
        /**
         * Returns whether the task is permanent.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

    import java.util.Objects;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * System {@link Logger}. Uses provided {@link PrintStream}s or {@link System#err} ones as fallback.
     * This logger is used in case of "early failures" (when no logging may be set up yet).
     */
    public class SystemLogger implements Logger {
        private final PrintWriter out;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            }
    
            @Override
            int writeParameterWordsWireFormat(byte[] dst, int dstIndex) {
                System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length);
                return paramWords.length;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                System.arraycopy(bytes, 0, dst, dstIndex, bytes.length);
                return bytes.length;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top