Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for 500 (0.01 sec)

  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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            info.alloc = 1000;
            info.free = 500;
            info.sectPerAlloc = 100;
            info.bytesPerSect = 512;
    
            String infoString = info.toString();
            assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc");
            assertTrue(infoString.contains("free=500"), "toString should contain free");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

            .throttleBody((64 * 1024).toLong(), 125, TimeUnit.MILLISECONDS),
        ) // 500 Kbps
        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            SMBUtil.writeInt2(500, buffer, bufferIndex);
            SMBUtil.writeInt2(0, buffer, bufferIndex + 2);
            SMBUtil.writeInt2(TransPeekNamedPipeResponse.STATUS_LISTENING, buffer, bufferIndex + 4);
    
            // Act
            int result = response.readParametersWireFormat(buffer, bufferIndex, 6);
    
            // Assert
            assertEquals(6, result);
            assertEquals(500, response.getAvailable());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            sidArray.sids[0].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            sidArray.sids[0].sid.sub_authority_count = 1;
            sidArray.sids[0].sid.sub_authority = new int[] { 500 };
    
            sidArray.sids[1] = new lsarpc.LsarSidPtr();
            sidArray.sids[1].sid = new rpc.sid_t();
            sidArray.sids[1].sid.revision = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(500);
                        continue;
                    }
                    assertTrue("plugin(" + target + ") is included in " + installed, exists);
                    done = true;
                    break;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt4(500, buffer, 8);
                SMBUtil.writeInt4(0, buffer, 12);
                SMBUtil.writeInt4(0, buffer, 16);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(1000, response.getCount());
                assertEquals(500, response.getRemaining());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                    }
                });
    
                waiter.start();
                Thread.sleep(50); // Give waiter time to start
    
                response.received();
    
                assertTrue(latch.await(500, TimeUnit.MILLISECONDS));
                assertTrue(response.isReceived());
            }
    
            @Test
            @DisplayName("Should handle async pending status")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

        client =
          client
            .newBuilder()
            .callTimeout(250, TimeUnit.MILLISECONDS)
            .build()
        server.enqueue(
          MockResponse
            .Builder()
            .bodyDelay(500, TimeUnit.MILLISECONDS)
            .setHeader("content-type", "text/event-stream")
            .body("data: hey\n\n")
            .build(),
        )
        val source = newEventSource()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            file.createNewFile();
            assertTrue(file.exists(), "File should exist after creation");
    
            // Ensure proper cleanup before delete
            file.close();
            Thread.sleep(500); // Give more time for handle release
            System.gc(); // Force garbage collection
            Thread.sleep(200);
    
            // Delete using a completely new context to avoid handle issues
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top