Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 268 for 0L (0.01 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                        return -1;
                    }
                    throw seToIoe(se);
                }
                n = response.dataLength;
                if (n <= 0) {
                    return (int) (fp - start > 0L ? fp - start : -1);
                }
                fp += n;
                len -= n;
                response.off += n;
            } while (len > 0 && n == r);
    
            return (int) (fp - start);
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/graph/AbstractBaseGraph.java

       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
        long degreeSum = 0L;
        for (N node : nodes()) {
          degreeSum += degree(node);
        }
        // According to the degree sum formula, this is equal to twice the number of edges.
        checkState((degreeSum & 1) == 0);
        return degreeSum >>> 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        while (true) {
          val success = webSocket.send(message)
          if (!success) break
          messageCount++
          val queueSize = webSocket.queueSize()
          assertThat(queueSize).isBetween(0L, messageCount * message.size)
          // Expect to fail before enqueueing 32 MiB.
          assertThat(messageCount).isLessThan(32L)
        }
    
        // Confirm all sent messages were received, followed by a client-initiated close.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  8. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals(original.toString(), decoded.toString());
        }
    
        /**
         * Test FileEndOfFileInformation with various end of file values
         */
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1024L, 1048576L })
        @DisplayName("Test FileEndOfFileInformation with various values")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                logger.log("")
                logger.log("<-- END HTTP (${totalMs}ms, binary ${buffer.size}-byte body omitted)")
                return response
              }
    
              if (contentLength != 0L) {
                logger.log("")
                logger.log(buffer.clone().readString(charset))
              }
    
              logger.log(
                buildString {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top