Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,085 for Ensure (0.2 seconds)

  1. gorm.go

    // for Config.cacheStore store PreparedStmtDB key
    const preparedStmtDBKey = "preparedStmt"
    
    // Config GORM config
    type Config struct {
    	// GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction    bool
    	DefaultTransactionTimeout time.Duration
    	DefaultContextTimeout     time.Duration
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            ComponentUtil.getSsoManager().register(this);
        }
    
        /**
         * Gets or creates the SPNEGO authenticator instance.
         *
         * This method implements lazy initialization with synchronization to ensure
         * the authenticator is only created once. It configures the authenticator
         * with the appropriate SPNEGO settings and marks initialization as complete.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt4(100, src, 6); // ttl
            NameServicePacket.writeInt2(6, src, 10); // rDataLength (for one NbtAddress)
    
            packet.questionName = mockQuestionName; // Ensure questionName is set
    
            int read = packet.readResourceRecordWireFormat(src, 0);
            assertEquals(18, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 6 (rData)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. cmd/bucket-policy-handlers_test.go

    			),
    		},
    	}
    }
    
    // Wrapper for calling Create Bucket and ensure we get one and only one success.
    func TestCreateBucket(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testCreateBucket, endpoints: []string{"MakeBucket"}})
    }
    
    // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/response-model.md

    ### FastAPI Data Filtering { #fastapi-data-filtering }
    
    Now, for FastAPI, it will see the return type and make sure that what you return includes **only** the fields that are declared in the type.
    
    FastAPI does several things internally with Pydantic to make sure that those same rules of class inheritance are not used for the returned data filtering, otherwise you could end up returning much more data than what you expected.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

            if (len <= 0) {
                return 0;
            }
            final long start = this.fp;
    
            if (this.tmp == null) {
                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            try (SmbFileHandleImpl fd = ensureOpen(); SmbTreeHandleImpl th = fd.getTree()) {
    
                if (log.isTraceEnabled()) {
                    log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (socket != null) {
                    socket.close();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                Assertions.assertEquals(3, results[i].length, "Thread " + i + " got wrong array length");
            }
        }
    
        /**
         * Test that volatile fields ensure visibility across threads.
         * Verify that changes to lastLoadedTime are visible to all threads.
         */
        @Test
        public void test_volatileFields_visibility() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <li>Default Blowfish algorithm is suitable for general-purpose encryption</li>
     * <li>For high-security applications, consider using AES with GCM mode via {@link #setAlgorithm(String)} and {@link #setTransformation(String)}</li>
     * <li>Ensure keys are securely generated and stored</li>
     * <li>For production systems with stringent security requirements, consider using authenticated encryption modes</li>
     * </ul>
     * <p>
     * <strong>Usage Example:</strong>
     * </p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         */
        int getValidationLevel();
    
        /**
         * Sets the level of validation to perform on processed models. For building of projects,
         * {@link #VALIDATION_LEVEL_STRICT} should be used to ensure proper building. For the mere retrieval of dependencies
         * during artifact resolution, {@link #VALIDATION_LEVEL_MINIMAL} should be used to account for models of poor
         * quality. By default, models are validated in strict mode.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top