Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 818 for initializer (0.07 seconds)

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

        Iterator<Entry<K, V>> iterator = entrySet.iterator();
        if (supportsIteratorRemove) {
          int initialSize = map.size();
          Entry<K, V> entry = iterator.next();
          Entry<K, V> entryCopy = mapEntry(entry.getKey(), entry.getValue());
    
          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. cmd/healthcheck-handler.go

    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalBucketMetadataSys.Initialized() {
    		w.Header().Set(xhttp.MinIOServerStatus, "bucket-metadata-offline")
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalIAMSys.Initialized() {
    		w.Header().Set(xhttp.MinIOServerStatus, "iam-offline")
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         * @param access
         * @param flags
         * @param initialSize
         */
        public SmbFileHandleImpl(final Configuration cfg, final int fid, final SmbTreeHandleImpl tree, final String unc, final int flags,
                final int access, final int attrs, final int options, final long initialSize) {
            this.cfg = cfg;
            this.fid = fid;
            this.initialSize = initialSize;
            this.fileId = null;
            this.unc = unc;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Then
            // Verify that ptype is set to 0
            assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0");
    
            // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)
            // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            mockHandle = mock(policy_handle.class);
        }
    
        /**
         * Test case for the {@link MsrpcLsarClose#MsrpcLsarClose(policy_handle)} constructor.
         * Verifies that the handle, ptype, and flags are correctly initialized.
         */
        @Test
        void testConstructor() {
            // Create an instance of MsrpcLsarClose with the mock handle
            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         */
        protected CIFSContext cifsContext;
    
        /**
         * Creates a new SmbClient instance.
         */
        public SmbClient() {
            super();
        }
    
        /**
        * Initializes the SMB client.
        * @see org.codelibs.fess.crawler.client.AbstractCrawlerClient#init()
        */
        @Override
        public synchronized void init() {
            if (smbAuthenticationHolder != null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 23.4K bytes
    - Click Count (3)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

        /** Number of search results to retrieve (alias for num) */
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = num == null || num < size ? size : num;
            }
            super.initialize();
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. cmd/bucket-handlers_test.go

    	// if object upload fails stop the test.
    	if err != nil {
    		t.Fatalf("Error uploading object: <ERROR> %v", err)
    	}
    
    	// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	// construct HTTP request for DELETE bucket.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

    /**
     * Tests for the MsrpcDfsRootEnum class.
     * This class uses JUnit 5 for testing.
     */
    class MsrpcDfsRootEnumTest {
    
        /**
         * Test the constructor of MsrpcDfsRootEnum.
         * Verifies that the object is initialized with the correct default values.
         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

     * Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain
     * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all
     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top