Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,544 for RESULT (0.04 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Object_Failure() {
            // Test failed casting
            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. clause/clause_test.go

    			buildNames = append(buildNames, c.Name())
    			buildNamesMap[c.Name()] = true
    		}
    
    		stmt.AddClause(c)
    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    		t.Errorf("SQL expects %v got %v", result, stmt.SQL.String())
    	}
    
    	if !reflect.DeepEqual(stmt.Vars, vars) {
    		t.Errorf("Vars expects %+v got %v", stmt.Vars, vars)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + eventType;
            result = prime * result + ((exception == null) ? 0 : exception.hashCode());
            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            // Test method chaining
            assertSame(purgeThumbnailJob, result);
            // Test value was set
            assertEquals(1L, purgeThumbnailJob.getExpiry());
        }
    
        // Test execute with successful purge (no files deleted)
        public void test_execute_noFilesDeleted() {
            thumbnailManager.setPurgeCallCount(0);
    
            String result = purgeThumbnailJob.execute();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                }
            }, CrawlingInfoService.class.getCanonicalName());
    
            Map<String, String> result = crawlingInfoHelper.getInfoMap(sessionId);
            assertEquals(2, result.size());
            assertEquals("1500", result.get("total_docs"));
            assertEquals("3", result.get("error_count"));
        }
    
        public void test_setMaxSessionIdsInList() {
            crawlingInfoHelper.setMaxSessionIdsInList(500);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsClickLogBhv.java

        }
    
        @Override
        protected <RESULT extends ClickLog> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setUrlId(DfTypeUtil.toString(source.get("urlId")));
                result.setDocId(DfTypeUtil.toString(source.get("docId")));
                result.setOrder(DfTypeUtil.toInteger(source.get("order")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                String result = nc.toString();
    
                // Should contain hex representation of 0-15
                assertTrue(result.contains("0x"));
                assertTrue(result.contains("dc=LARGEDC"));
                // The hex string should be 32 chars long (16 bytes * 2)
                String hexPart = result.substring(result.indexOf("0x") + 2, result.indexOf(",dc="));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

        BigInteger result;
        do {
          result = randomNonNegativeBigInteger(numBits);
        } while (result.signum() == 0);
        return result;
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
       * the result is chosen uniformly at random in [0, numBits), and then the result is chosen in that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            String result = response.readString(src, 0, src.length);
            assertEquals(expected, result);
        }
    
        @Test
        void testReadString_Oem() {
            response.useUnicode = false;
            String expected = "test";
            // Simulate OEM encoding with a null terminator
            byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8);
            String result = response.readString(src, 0, src.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. statement.go

    	processColumn := func(column string, result bool) {
    		if stmt.Schema == nil {
    			results[column] = result
    		} else if column == "*" {
    			notRestricted = result
    			for _, dbName := range stmt.Schema.DBNames {
    				results[dbName] = result
    			}
    		} else if column == clause.Associations {
    			for _, rel := range stmt.Schema.Relationships.Relations {
    				results[rel.Name] = result
    			}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top