Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 273 for 0L (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            if (t != 0L) {
                t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
            }
            writeInt8(t, dst, dstIndex);
        }
    
        static long readUTime(final byte[] buffer, final int bufferIndex) {
            return readInt4(buffer, bufferIndex) * 1000L;
        }
    
        static void writeUTime(long t, final byte[] dst, final int dstIndex) {
            if (t == 0L || t == 0xFFFFFFFFFFFFFFFFL) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.okHttpSettings[Settings.INITIAL_WINDOW_SIZE] = windowSize
        val stream = connection.newStream(headerEntries("b", "banana"), false)
        assertThat(stream.readBytes.acknowledged).isEqualTo(0L)
        assertThat(stream.readBytes.total).isEqualTo(0L)
        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.source
        val buffer = Buffer()
        buffer.writeAll(source)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        @DisplayName("skipBytes(): advances file pointer for positive values")
        void skipBytes_advancesFP() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            assertEquals(0L, raf.getFilePointer());
            int skipped = raf.skipBytes(5);
            assertEquals(5, skipped);
            assertEquals(5L, raf.getFilePointer());
            assertEquals(0, raf.skipBytes(-3));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Add multiple children
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L);
    
            List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
            assertEquals(3, children.size());
    
            // Verify all children are present
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          )
        val heldCertificate =
          HeldCertificate
            .Builder()
            .keyPair(publicKey, privateKey)
            .commonName("cash.app")
            .validityInterval(0L, 1000L)
            .rsa2048()
            .build()
        assertThat(
          """
          |-----BEGIN CERTIFICATE-----
          |MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDDAhjYXNo
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                try {
                    fp = file.length();
                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_createTempFile() {
            assertNotNull(systemHelper.createTempFile("test", ".txt"));
        }
    
        public void test_calibrateCpuLoad() {
            systemHelper.setSystemCpuCheckInterval(0L);
            systemHelper.calibrateCpuLoad();
            assertEquals(0, systemHelper.waitingThreadNames.size());
            systemHelper.waitForNoWaitingThreads();
        }
    
        public void test_getVersion() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      }
    
      private static long charToTwoUtf8Bytes(char c) {
        // c has at most 11 bits
        return ((0x3L << 6) | (c >>> 6)) | ((0x80 | (0x3F & c)) << 8);
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile1.createTime()).thenReturn(500L);
            when(mockFile1.lastAccess()).thenReturn(800L);
    
            when(mockFile2.getName()).thenReturn("dir1");
            when(mockFile2.length()).thenReturn(0L);
            when(mockFile2.lastModified()).thenReturn(2000L);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          it.assertValue(1, "a")
        }
        assertThat(cache.size()).isEqualTo(0L)
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun editSnapshotAfterEvictAllReturnsNullDueToStaleValue(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val expectedByteCount = if (windows) 2L else 0L
        val afterRemoveFileContents = if (windows) "a" else null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top