Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,352 for sets (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. docs/debugging/reorder-disks/main.go

    	var f format
    	err = json.Unmarshal(formatJSON, &f)
    	if err != nil {
    		return format{}, err
    	}
    
    	return f, nil
    }
    
    func getDiskLocation(f format) (string, error) {
    	for i, set := range f.XL.Sets {
    		for j, disk := range set {
    			if disk == f.XL.This {
    				return fmt.Sprintf("%d-%d", i, j), nil
    			}
    		}
    	}
    	return "", errors.New("format.json is corrupted")
    }
    
    func main() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
        void testConstructorSetsCommand() {
            SmbComClose close = new SmbComClose(1, 12345L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      /**
       * This field's name "only-if-cached" is misleading. It actually means "do not use the network".
       * It is set by a client who only wants to make a request if it can be fully satisfied by the
       * cache. Cached responses that would require validation (ie. conditional gets) are not permitted
       * if this header is set.
       */
      @get:JvmName("onlyIfCached") val onlyIfCached: Boolean,
      @get:JvmName("noTransform") val noTransform: Boolean,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 10K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(final int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         *
         * @param flag The flag to set/clear (i.e.,
         * <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value Indicates whether to set (<code>true</code>) or
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/FessBoot.java

            System.exit(0);
        }
    
        /**
         * Checks if the lasta.env system property is not set.
         *
         * @return true if lasta.env is not set, false otherwise
         */
        private static boolean isNoneEnv() {
            return System.getProperty("lasta.env") == null;
        }
    
        /**
         * Gets the port number for the Tomcat server from system properties.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly");
            assertEquals(credits, request.getCredit(), "Credits should be set correctly");
            assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly");
            assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set for non-zero asyncId");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/elasticsearch.local-distribution.gradle

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    /**
     * This script sets up a local distribution.
     * To install a local distribution run `localDistro`.
     * The local distribution will be installed to
     * build/distributions/local
     * */
    import org.elasticsearch.gradle.Architecture
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            assertFalse(queryFieldConfig.isFacetField("category"));
        }
    
        /**
         * Test that init() creates Sets when arrays are initialized.
         */
        @Test
        public void test_init_createsSets() {
            queryFieldConfig.init();
    
            // All Sets should be created during init
            assertNotNull(queryFieldConfig.searchFieldSet);
            assertNotNull(queryFieldConfig.facetFieldSet);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            ComponentUtil.getRelatedContentHelper().update();
        }
    
        /**
         * Sets up the search conditions for listing related content entities.
         * Configures wildcard searches for term and content fields, and sets up ordering.
         *
         * @param cb the condition bean for building the query
         * @param relatedContentPager the pager containing search parameters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top