Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,166 for handle2 (0.05 sec)

  1. cmd/bootstrap-peer-server.go

    func registerBootstrapRESTHandlers(gm *grid.Manager) {
    	server := &bootstrapRESTServer{}
    	logger.FatalIf(serverVerifyHandler.Register(gm, server.VerifyHandler), "unable to register handler")
    }
    
    // client to talk to bootstrap NEndpoints.
    type bootstrapRESTClient struct {
    	gridConn *grid.Connection
    }
    
    // Verify function verifies the server config.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(0x01, dst[16]);
    
            // Check reserved byte is zero
            assertEquals(0x00, dst[17]);
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            notifyChange = new NtTransNotifyChange(mockConfig, fid, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertNotNull(result);
        }
    
        public void test_getMatchedLabelValueSet_nullPath() {
            try {
                labelTypeHelper.getMatchedLabelValueSet(null);
                fail("Should handle null path gracefully or throw appropriate exception");
            } catch (Exception e) {
                // Expected behavior for null path
                assertNotNull(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

             */
            public LuceneQueryParser(final String f, final Analyzer a) {
                super(f, a);
                defaultField = f;
            }
    
            /**
             * Overrides the field query creation to handle quoted queries specially.
             * For quoted queries on the default field, creates a phrase query instead of a term query.
             *
             * @param field the field to query
             * @param queryText the query text
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

        assertThat(request.tag<Any>()).isSameAs(objectTag)
        assertThat(request.tag(Any::class)).isSameAs(objectTag)
        assertThat(request.tag(String::class)).isSameAs(stringTag)
    
        // TODO check for Jvm or handle Long/long correctly
    //    assertThat(request.tag(Long::class)).isSameAs(longTag)
      }
    
      /** Confirm that we don't accidentally share the backing map between objects. */
      @Test
      fun tagsAreImmutable() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @Test
        @DisplayName("Test toString with null values")
        void testToStringWithNullValues() {
            SmbShareInfo info = new SmbShareInfo();
            String str = info.toString();
    
            // Should handle null values gracefully
            assertNotNull(str);
            assertTrue(str.startsWith("SmbShareInfo["));
            assertTrue(str.contains("netName=null"));
            assertTrue(str.contains("type=0x"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

     * <p>A good example of usage of this class is for HTML escaping where the replacement array
     * contains information about the named HTML entities such as {@code &amp;} and {@code &quot;} while
     * {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code &#NNNNN;}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedUnicodeEscaper} is proportional to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

            // Multi-Channel Configuration
            value = props.getProperty("jcifs.smb.client.useMultiChannel");
            if (value != null) {
                this.useMultiChannelExplicitlySet = true;
                // Handle invalid boolean values by falling back to default
                if ("true".equalsIgnoreCase(value)) {
                    this.useMultiChannel = true;
                } else if ("false".equalsIgnoreCase(value)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeTest.java

            doNothing().when(idempotentTree).close();
    
            // Close multiple times
            idempotentTree.close();
            idempotentTree.close();
    
            // Verify close was called, but implementation should handle idempotency
            verify(idempotentTree, times(2)).close();
        }
    
        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                }
            };
    
            try {
                Artifact artifact = new Artifact("fess-theme-test", "1.0.0");
                mockThemeHelper.install(artifact);
                // Some environments may handle invalid zip gracefully
                assertTrue(true);
            } catch (Exception e) {
                // Should throw ThemeException or ZipException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top