Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2521 - 2530 of 2,697 for objects (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        assertThat(symmetricDifference(newHashSet(1, 2), newHashSet(2, 3)).immutableCopy())
            .containsExactly(1, 3);
      }
    
      public void testCopyInto_returnsSameInstance() {
        Set<Object> set = new HashSet<>();
        assertThat(union(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
        assertThat(intersection(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public void setExpiration(final Long exp) {
            this.expiration = exp;
        }
    
        /**
         * Gets the configuration object for this message block
         * @return the config
         */
        protected final Configuration getConfig() {
            return this.config;
        }
    
        /**
         *
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSource.java

       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

            for (int i = 0; i < this.sub_authority_count; i++) {
                hcode += 65599 * this.sub_authority[i];
            }
            return hcode;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SID sid) {
                if (sid == this) {
                    return true;
                }
                if (sid.sub_authority_count == this.sub_authority_count) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            pathField.setAccessible(true);
            String actualPath = (String) pathField.get(req);
            assertEquals(path, actualPath);
        }
    
        @Test
        @DisplayName("Should create proper response object")
        void testCreateResponse() {
            // When
            Smb2TreeConnectResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * Converts this abstract pathname to a <code>file:</code> URL.
         *
         * @param file the file (must not be {@literal null})
         * @return a URL object representing the file URL
         */
        public static URL toURL(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.toURI().toURL();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    node[_i] = (byte) _src.dec_ndr_small();
                }
            }
        }
    
        /**
         * Policy handle structure for DCE/RPC operations.
         * Represents a handle to a policy object on the server.
         */
        public static class policy_handle extends NdrObject {
    
            /**
             * Default constructor for policy_handle.
             */
            public policy_handle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(smb1, smb2);
            assertNotEquals(smb1, smb3);
            assertEquals(smb1.hashCode(), smb2.hashCode());
            assertNotEquals(smb1.hashCode(), smb3.hashCode());
            assertNotEquals(smb1, new Object());
        }
    
        @Test
        void testToString() {
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top