Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,544 for RESULT (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected boolean set(@Nullable V value) {
          boolean result = sync.set(value);
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to an error, {@code
         * throwable}. This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testToString() {
            String result = transaction.toString();
    
            assertNotNull(result);
            // The toString method from parent class returns SMB_COM_TRANSACTION, not SmbComTransaction
            assertTrue(result.contains("SMB_COM_TRANSACTION"));
            // Also verify it contains transaction-specific details
            assertTrue(result.contains("totalParameterCount"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoParamBhv.java

        }
    
        @Override
        protected <RESULT extends CrawlingInfoParam> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCrawlingInfoId(DfTypeUtil.toString(source.get("crawlingInfoId")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int result = notification.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
    
                // Test with different offsets
                result = notification.writeBytesWireFormat(buffer, 10);
                assertEquals(0, result);
    
                result = notification.writeBytesWireFormat(buffer, 50);
                assertEquals(0, result);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /** Creates an {@code AtomicLongMap} with the same mappings as the specified {@code Map}. */
      public static <K> AtomicLongMap<K> create(Map<? extends K, ? extends Long> m) {
        AtomicLongMap<K> result = create();
        result.putAll(m);
        return result;
      }
    
      /**
       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Given
                byte[] dst = new byte[100];
                int dstIndex = 0;
    
                // When
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
                // Then
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of destination index")
            void testWriteBytesWireFormatWithVariousIndices() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            String result = viewHelper.removeHighlightTag(text);
            assertEquals("highlighted text", result);
    
            text = "normal text";
            result = viewHelper.removeHighlightTag(text);
            assertEquals("normal text", result);
    
            text = "";
            result = viewHelper.removeHighlightTag(text);
            assertEquals("", result);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    case COMBINATION_ITEM:
                        int result = this.compareTo(((CombinationItem) item).getStringPart());
                        if (result == 0) {
                            return -1;
                        }
                        return result;
    
                    case LIST_ITEM:
                        return -1; // 1.any < 1-1
    
                    default:
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. tests/postgres_test.go

    	thing2 := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(future, callback, directExecutor());
        future.set(result);
        assertEquals(result, future.get());
        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testOnSuccessThrowsError() throws Exception {
        SomeError error = new SomeError();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top