Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 583 for behaviors (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
          if (runningTasks == 0) {
            lock.notifyAll();
          }
        }
      }
    
      // See newDirectExecutorService javadoc for unusual behavior of this method.
      @Override
      public List<Runnable> shutdownNow() {
        shutdown();
        return ImmutableList.of();
      }
    
      @Override
      public boolean isTerminated() {
        synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null);
            resp.received = true;
    
            session.transport(); // initialise transport
    
            // Mock the sessionSetup behavior to avoid actual network calls
            // The sessionSetup method would normally send authentication messages
            // Only mark the sessionSetup response as received, not the actual request/response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
          if (runningTasks == 0) {
            lock.notifyAll();
          }
        }
      }
    
      // See newDirectExecutorService javadoc for unusual behavior of this method.
      @Override
      public List<Runnable> shutdownNow() {
        shutdown();
        return ImmutableList.of();
      }
    
      @Override
      public boolean isTerminated() {
        synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java

            // Default constructor
        }
    
        /** Default client invoke names for DBFlute behavior invocation. */
        protected static final String[] DEFAULT_CLIENT_INVOKE_NAMES = { "Page", "Action", "Controller", "ControllerImpl", "Task", "Test" };
    
        /** Default bypass invoke names for DBFlute behavior invocation. */
        protected static final String[] DEFAULT_BYPASS_INVOKE_NAMES =
    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. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            byte[] data = new byte[] { 1, 2, 3 };
            t.setMechanismToken(data);
            assertArrayEquals(data, t.getMechanismToken(), "mechanismToken should round-trip");
    
            // Document current behavior: no defensive copy (reference exposed)
            data[0] = 9;
            assertEquals(9, t.getMechanismToken()[0], "no defensive copy; reflects external mutation");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)");
    
            // In the opposite direction, an out-of-bounds occurs internally and is caught as false
            assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)");
        }
    
        // Confirms equals() returns false when content differs
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Current Behavior
          description: What does the feature currently do?
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Desired Behavior
          description: What do you want it to do instead?
        validations:
          required: true
    
      - type: markdown
        attributes:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        // Mocking MsrpcLsarOpenPolicy2 and MsrpcLsarClose is tricky because they are created inside the constructor/method.
        // We need to use ArgumentCaptor or a custom Answer to control their behavior.
        // For now, let's assume we can mock their behavior through the sendrecv method of DcerpcHandle.
    
        @BeforeEach
        void setUp() {
            // MockitoAnnotations.openMocks(this); // Not needed with @ExtendWith(MockitoExtension.class)
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof DefaultQueryBuilder);
    
            // Verify query was processed
            // Note: Field logging behavior depends on implementation
        }
    
        public void test_convertPhraseQuery_singleTerm_defaultField_dismax() {
            // Test with single term in default field with boost > 1
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbWatchHandleTest.java

            mockNotifications.add(fileNotifyInfo3);
        }
    
        /**
         * Test watch() method returning notifications
         */
        @Test
        void testWatch() throws CIFSException {
            // Setup mock behavior
            when(watchHandle.watch()).thenReturn(mockNotifications);
    
            // Execute
            List<FileNotifyInformation> result = watchHandle.watch();
    
            // Verify
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top