Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 220 for 1014 (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

                assertTrue(data.hasResponseBody());
                assertNotNull(data.getResponseBody());
    
                try (InputStream is = data.getResponseBody()) {
                    byte[] buffer = new byte[1024];
                    int bytesRead = is.read(buffer);
                    String result = new String(buffer, 0, bytesRead, StandardCharsets.UTF_8);
                    assertEquals(content, result);
                }
            } finally {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStatsAccumulator.java

        if (value > 0.0) {
          return value;
        } else {
          return Double.MIN_VALUE;
        }
      }
    
      private static double ensureInUnitRange(double value) {
        return Doubles.constrainToRange(value, -1.0, 1.0);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Allocation Size (8 bytes)
                SMBUtil.writeInt8(4096, buffer, bufferIndex + 40);
                // End of File (8 bytes)
                SMBUtil.writeInt8(1024, buffer, bufferIndex + 48);
                // File Attributes (4 bytes)
                SMBUtil.writeInt4(0x20, buffer, bufferIndex + 56); // FILE_ATTRIBUTE_ARCHIVE
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

        private String defaultDomain;
    
        @Override
        public void init() throws ServletException {
            InputStream is;
            final StringBuilder sb = new StringBuilder();
            final byte[] buf = new byte[1024];
            int n, level;
            String name;
    
            Config.setProperty("jcifs.smb1.smb.client.soTimeout", "600000");
            Config.setProperty("jcifs.smb1.smb.client.attrExpirationPeriod", "300000");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        void testVariousPathFormats(String path) throws Exception {
            // Given
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
            byte[] buffer = new byte[1024];
    
            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
        UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark();
        bench.length = 1024;
        bench.setUp();
        bench.timeUnsafe(100000);
      } catch (Exception e) {
      }*/
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

    /*
     * Copyright (C) 2014 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            int bufferIndex = 5; // Start at offset 5
            int idFileSystem = 0xFFFFFFFF;
            int sectPerAlloc = 16;
            long alloc = 2000000L;
            long free = 1500000L;
            int bytesPerSect = 1024;
    
            // Encode test data at offset
            int offset = bufferIndex;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        private int outputBufferOffset;
        private Smb2ReadResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            outputBuffer = new byte[1024];
            outputBufferOffset = 0;
            response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset);
        }
    
        @Test
        @DisplayName("Should create response with configuration and output buffer")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top