Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7211 - 7220 of 7,804 for RETURN (0.17 seconds)

  1. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            }
        }
    
        @Test
        public void test_genericTypeSafety_consistencyBetweenConstructorAndGetter() {
            // Verify consistency between constructor parameter type and getter return type
            // This test ensures the generic type change is consistent throughout the class
    
            // Test with RootAction.class
            Class<? extends RootAction> inputClass1 = RootAction.class;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            long startTime = System.nanoTime();
            for (int i = 0; i < iterations; i++) {
                auth1.equals(auth2);
            }
            long endTime = System.nanoTime();
    
            return (endTime - startTime) / iterations;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
        public void testAlign() throws IOException {
            // Test alignment from position 1 to 4
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. cmd/metrics-v3-system-process.go

    		}
    	}
    
    	if globalIsDistErasure && globalLockServer != nil {
    		st := globalLockServer.stats()
    		m.Set(processLocksReadTotal, float64(st.Reads))
    		m.Set(processLocksWriteTotal, float64(st.Writes))
    	}
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 20 17:55:03 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy

                    } else {
                        assertDefaultFilePermissions(currentEntry.getMode())
                    }
                    currentEntry = tarInput.getNextTarEntry()
                }
                return true
            } finally {
                tarInput.close()
            }
        }
    
        private static boolean assertZipPermissionDefaults(File archive) {
            ZipFile zip = new ZipFile(archive)
            try {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  6. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("xn--fiqs8s", null)
      }
    
      private fun checkPublicSuffix(
        domain: String,
        registrablePart: String?,
      ) {
        val canonicalDomain = domain.toCanonicalHost() ?: return
        val result = publicSuffixDatabase.getEffectiveTldPlusOne(canonicalDomain)
        if (registrablePart == null) {
          assertThat(result).isNull()
        } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/handling-errors.md

    `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。
    
    Pythonの例外なので、`return`ではなく、`raise`です。
    
    これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。
    
    値を返す`return`よりも例外を発生させることの利点は、「依存関係とセキュリティ」のセクションでより明確になります。
    
    この例では、クライアントが存在しないIDでアイテムを要求した場合、`404`のステータスコードを持つ例外を発生させます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. cmd/erasure-heal_test.go

    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
        return new Method[] {
          getMethod(NavigableSetNavigationTester.class, "testLowerHole"),
          getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
          getMethod(NavigableSetNavigationTester.class, "testCeilingHole"),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
        ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
        for (int i = -3; i <= 3; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top