Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 637 for 5007 (0.74 seconds)

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

            WebApiException exception2 = new WebApiException(401, "Unauthorized");
            WebApiException exception3 = new WebApiException(500, "Internal Error");
    
            assertEquals(400, exception1.getStatusCode());
            assertEquals(401, exception2.getStatusCode());
            assertEquals(500, exception3.getStatusCode());
    
            assertTrue(exception1.getStatusCode() != exception2.getStatusCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java

            assertEquals(distro.getType(), ElasticsearchDistributionTypes.ARCHIVE);
        }
    
        public void testPlatformDefault() {
            ElasticsearchDistribution distro = checkDistro(
                createProject(null),
                "testdistro",
                "5.0.0",
                ElasticsearchDistributionTypes.ARCHIVE,
                null,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

      }
    
      @Test
      fun timeoutWritingRequest() {
        server.enqueue(MockResponse())
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .post(sleepingRequestBody(500))
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertTrue(result.contains("...[omitted]..."));
        }
    
        @Test
        public void test_smartSummary_budgetEnforcesMaxChars() {
            final ChatMessage msg = createAssistantWithSources("A".repeat(5000), "Title1", "Title2");
            final String result = chatClient.testBuildAssistantHistoryContent(msg, "smart_summary", 500, 500);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  5. src/archive/tar/tar_test.go

    		wantInverted: []sparseEntry{{0, 0}},
    	}, {
    		in: []sparseEntry{}, size: 5000,
    		wantValid:    true,
    		wantInverted: []sparseEntry{{0, 5000}},
    	}, {
    		in: []sparseEntry{{0, 5000}}, size: 5000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 5000}},
    		wantInverted: []sparseEntry{{5000, 0}},
    	}, {
    		in: []sparseEntry{{1000, 4000}}, size: 5000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{1024, 3976}},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        Stopwatch stopwatch = Stopwatch.createStarted();
        Condition condition = TestCondition.create();
    
        boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 500, MILLISECONDS);
    
        assertFalse(returnedBeforeTimeout);
        assertAtLeastTimePassed(stopwatch, 500);
        assertNotInterrupted();
      }
    
      @SuppressWarnings("WaitNotInLoop") // see comment above
      public void testConditionAwaitTimeoutNotExceeded() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putLong(1000L);
                buffer.putLong(500L);
                buffer.putInt(1);
                buffer.putInt(sectorSize);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
    
                // Then
                assertEquals(1000L * sectorSize, fileFsSizeInfo.getCapacity());
                assertEquals(500L * sectorSize, fileFsSizeInfo.getFree());
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  8. internal/kms/kms.go

    }
    
    var defaultLatencyBuckets = []time.Duration{
    	10 * time.Millisecond,
    	50 * time.Millisecond,
    	100 * time.Millisecond,
    	250 * time.Millisecond,
    	500 * time.Millisecond,
    	1000 * time.Millisecond, // 1s
    	1500 * time.Millisecond,
    	3000 * time.Millisecond,
    	5000 * time.Millisecond,
    	10000 * time.Millisecond, // 10s
    }
    
    // KMS is a connection to a key management system.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/FilteredBiMapTest.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 922 bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java

    /*
     * Copyright (C) 2007 The Guava Authors
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 854 bytes
    - Click Count (0)
Back to Top