Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 5,084 for rreturn (1.82 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                // size8(10, 2): rem = 10%8 - 2 = 2 - 2 = 0, returns 10
                assertEquals(10, ServerMessageBlock2.size8(10, 2));
                // size8(18, 2): rem = 18%8 - 2 = 2 - 2 = 0, returns 18
                assertEquals(18, ServerMessageBlock2.size8(18, 2));
                // size8(17, 2): rem = 17%8 - 2 = 1 - 2 = -1, rem = 8 + (-1) = 7, returns 17 + 8 - 7 = 18
                assertEquals(18, ServerMessageBlock2.size8(17, 2));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheLoader.java

       *
       * @param supplier the supplier to be used for loading values; must never return {@code null}
       * @return a cache loader that loads values by calling {@link Supplier#get}, irrespective of the
       *     key
       */
      public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) {
        return new SupplierToCacheLoader<>(supplier);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null);
    
            assertNull(authenticator.getPassword(), "getPassword should return null for null password");
            assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password");
    
            // secureWipePassword should not throw exception
            authenticator.secureWipePassword();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
                assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * Reads a single byte from the file at the current file pointer position.
         *
         * @return the byte read as an integer (0-255), or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
         */
        public int read() throws SmbException {
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    		}
    		if osIsPermission(err) {
    			return errDiskAccessDenied
    		} else if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    		return err
    	}
    
    	// Stat succeeds we return errVolumeExists.
    	return errVolumeExists
    }
    
    // ListVols - list volumes.
    func (s *xlStorage) ListVols(ctx context.Context) (volsInfo []VolInfo, err error) {
    	return listVols(ctx, s.drivePath)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbSession.java

         *
         * @param <T> the type to unwrap to
         * @param type the class of the type to unwrap to
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap(Class<T> type);
    
        /**
         * Returns the CIFS context that this session is attached to.
         *
         * @return the context this session is attached to
         */
        CIFSContext getContext();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

                }
                return entity;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(duplicateHost.getId()).created(true).status(Status.OK).result());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/Curl.java

         * @return a new CurlRequest object configured with the POST method and the specified URL
         */
        public static CurlRequest post(final String url) {
            return new CurlRequest(Method.POST, url);
        }
    
        /**
         * Creates a new CurlRequest with the HTTP PUT method for the specified URL.
         *
         * @param url the URL to which the PUT request will be sent
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            /**
             * @return CharSequence
             */
            public static CharSequence aaa() {
                return createCharSequence("aaa");
            }
    
            /**
             * @return CharSequence
             */
            public static CharSequence bbb() {
                return createCharSequence("bbb");
            }
    
            /**
             * @return CharSequence
             */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top