Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 596 for Both (2.47 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            allHeaders.put(null, Collections.singletonList(statusLine)); // Status line
            when(conn.getHeaderFields()).thenReturn(allHeaders);
    
            // Mock individual header access by both string key and index
            if (headers != null) {
                // Mock by header name
                for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. cmd/net.go

    		// If empty host means it is localhost
    		addr2Local = true
    	} else if addr2Local, err = isLocalHost(host2, port2, port2); err != nil {
    		// Host not empty, check if it is local
    		return false, err
    	}
    
    	// If both of addresses point to the same machine, check if
    	// have the same port
    	if addr1Local && addr2Local {
    		if port1 == port2 {
    			return true, nil
    		}
    	}
    	return false, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

    import org.opensearch.index.query.QueryShardContext;
    
    /**
     * Default implementation of QueryBuilder that wraps other QueryBuilder instances
     * and provides additional functionality for adding inner queries dynamically.
     * Supports both BoolQueryBuilder and DisMaxQueryBuilder as underlying implementations.
     */
    public class DefaultQueryBuilder implements QueryBuilder {
    
        /** The underlying query builder being wrapped. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Deserializes a byte array using Kryo deserialization.
         * <p>
         * Uses the thread-local Kryo instance to read both the class information
         * and object data from the byte array input stream.
         * </p>
         *
         * @param bytes the byte array to deserialize
         * @return the deserialized object
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        String concurrentPackage = SettableFuture.class.getPackage().getName();
        ClassLoader classLoader = AggregateFutureStateFallbackAtomicHelperTest.class.getClassLoader();
        // we delegate to the current classloader so both loaders agree on classes like TestCase
        return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) {
          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. chainable_api.go

    //	db.Model(&user).Update("name", "hello")
    func (db *DB) Model(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Model = value
    	return
    }
    
    // Clauses Add clauses
    //
    // This supports both standard clauses (clause.OrderBy, clause.Limit, clause.Where) and more
    // advanced techniques like specifying lock strength and optimizer hints. See the
    // [docs] for more depth.
    //
    //	// add a simple limit clause
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    type Fault int
    
    const (
    	None Fault = iota
    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    // Wrapper for calling HeadObject API handler tests for both Erasure multiple disks and FS single drive setup.
    func TestAPIHeadObjectHandler(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testAPIHeadObjectHandler, endpoints: []string{"HeadObject"}})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(1);
                verify(mockNdrBuffer, times(2)).enc_ndr_short((short) 0); // length and maximum_length both 0
                verify(mockNdrBuffer).enc_ndr_referent(null, 1);
            }
    
            @Test
            @DisplayName("Should decode entry correctly")
            void testDecode() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            };
    
            DataConfig config = new DataConfig();
            DataStoreParams params = new DataStoreParams();
            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute on both instances
            dataStore1.store(config, callback, params);
            dataStore2.store(config, callback, params);
            dataStore2.store(config, callback, params);
    
            // Verify independent operation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top