Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 629 for res2 (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            // Arrange
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
            // Act & Assert - no exceptions should be thrown
            assertDoesNotThrow(() -> resp.writeSetupWireFormat(null, 0));
            assertDoesNotThrow(() -> resp.writeParametersWireFormat(null, 0));
            assertDoesNotThrow(() -> resp.writeDataWireFormat(null, 0));
            assertDoesNotThrow(() -> resp.readSetupWireFormat(null, 0, 0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        void constructor_happyPath() {
            // Arrange
            Configuration cfg = Mockito.mock(Configuration.class);
    
            // Act
            Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg);
    
            // Assert
            assertNotNull(resp, "Response instance should be created");
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat")
        class WriteBytesWireFormat {
    
            @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. tests/test_query_cookie_header_model_extra_params.py

        client = TestClient(app)
        resp = client.get(
            "/query",
            params={
                "param": "123",
                "param2": "456",
            },
        )
        assert resp.status_code == 200
        assert resp.json() == {
            "param": "123",
            "param2": "456",
        }
    
    
    def test_header_pass_extra_list():
        client = TestClient(app)
    
        resp = client.get(
            "/header",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * spec and YAML based rest tests.
     * </p>
     * <strong>Rest API specification:</strong> <br>
     * When the {@link RestResourcesPlugin} has been applied the {@link CopyRestApiTask} will automatically copy the core Rest API specification
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/resources/checkstyle_suppressions.xml

      -->
      <suppress files="client[/\\]rest-high-level[/\\]src[/\\]test[/\\]java[/\\]org[/\\]elasticsearch[/\\]client[/\\]documentation[/\\]ClusterClientDocumentationIT.java" id="SnippetLength" />
      <suppress files="client[/\\]rest-high-level[/\\]src[/\\]test[/\\]java[/\\]org[/\\]elasticsearch[/\\]client[/\\]documentation[/\\]GraphDocumentationIT.java" id="SnippetLength" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  6. cmd/object-api-multipart_test.go

    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	resN, err := obj.NewMultipartUpload(context.Background(), "abc", "def", opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	uploadID := res.UploadID
    	// Creating a dummy bucket for tests.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestTestPlugin.java

     * projects and in conjunction with {@link BuildPlugin} for testing the rest
     * client.
     */
    public class RestTestPlugin implements Plugin<Project> {
        private final List<String> REQUIRED_PLUGINS = Arrays.asList("elasticsearch.build", "elasticsearch.standalone-rest-test");
    
        @Override
        public void apply(final Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  8. cmd/xl-storage-disk-id-check.go

    // The resp channel is closed before the call returns.
    // Only a canceled context will return an error.
    func (p *xlStorageDiskIDCheck) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricReadMultiple, req.Bucket, req.Prefix)
    	if err != nil {
    		xioutil.SafeClose(resp)
    		return err
    	}
    	defer done(0, &err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java

    import org.elasticsearch.gradle.internal.test.rest.transform.RestTestTransformGlobalSetup;
    import org.elasticsearch.gradle.internal.test.rest.transform.feature.FeatureInjector;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    import org.jetbrains.annotations.Nullable;
    
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                Trans2QueryPathInformationResponse resp =
                        new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO);
    
                // Create a buffer with sample data
                byte[] buffer = new byte[100];
    
                int result = resp.readDataWireFormat(buffer, 0, 24);
                assertNotNull(resp.info);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top