Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,507 for system (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            super.setUp();
            dataStoreFactory = new DataStoreFactory();
            systemHelper = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should be lightweight and efficient")
        void testPerformanceCharacteristics() {
            // When - create many instances quickly
            long startTime = System.currentTimeMillis();
    
            for (int i = 0; i < 10000; i++) {
                EmptyIterator iterator = new EmptyIterator();
                iterator.hasNext();
                iterator.next();
                iterator.remove();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Default implementation of CORS (Cross-Origin Resource Sharing) handler.
     * This handler automatically registers itself for origins configured in the system
     * and applies standard CORS headers based on the application configuration.
     */
    public class DefaultCorsHandler extends CorsHandler {
    
        /**
         * Creates a new instance of DefaultCorsHandler.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the SMB_INFO_ALLOCATION information level used in SMB transaction requests.
     * This structure provides allocation information for a file system including total units,
     * free units, sectors per allocation unit, and bytes per sector.
     */
    public class SmbInfoAllocation implements AllocInfo {
    
        /**
         * Default constructor for SMB allocation information.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            }
    
            this.oplockLevel = buffer[bufferIndex + 2];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.fileId = new byte[16];
            System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16);
            bufferIndex += 16;
    
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransCallNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            MavenProject project = session.getCurrentProject();
    
            new ProjectBuilder(project)
                    .addDependency(
                            "com.mycompany",
                            "system-dependency",
                            "1.0",
                            Artifact.SCOPE_SYSTEM,
                            new File(getBasedir(), "pom.xml").getAbsolutePath());
    
            Set<Artifact> artifactDependencies =
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            String content = expectedContent.get(resource.getName());
    
            if (content != null) {
                resource.setContentLength(content.length());
                resource.setLastModified(System.currentTimeMillis());
    
                inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)));
            } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top