Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 403 for rest (0.43 seconds)

  1. cmd/peer-rest-client.go

    	resp, err := getLocksRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    		return nil, err
    	}
    	return *resp, nil
    }
    
    // LocalStorageInfo - fetch server information for a remote node.
    func (client *peerRESTClient) LocalStorageInfo(ctx context.Context, metrics bool) (info StorageInfo, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  2. cmd/storage-rest-client.go

    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	var final *dataUsageCache
    	err = st.Results(func(resp *nsScannerResp) error {
    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. cmd/storage-rest-server.go

    		for update := range updates {
    			resp := storageNSScannerRPC.NewResponse()
    			resp.Update = &update
    			out <- resp
    		}
    	}()
    	ui, err := s.getStorage().NSScanner(ctx, *params.Cache, updates, madmin.HealScanMode(params.ScanMode), nil)
    	wg.Wait()
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	// Send final response.
    	resp := storageNSScannerRPC.NewResponse()
    	resp.Final = &ui
    	out <- resp
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

            file("/build/${specIntermediateDir}/rest-api-spec/api/" + api).exists()
            file("/build/${testIntermediateDir}/original/rest-api-spec/test/" + test).exists()
            file("/build/${testIntermediateDir}/transformed/rest-api-spec/test/" + test).exists()
            file("/build/${testIntermediateDir}/original/rest-api-spec/test/" + test).exists()
            file("/build/${testIntermediateDir}/transformed/rest-api-spec/test/" + test).exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  5. TESTING.asciidoc

    The YAML REST tests support all the options provided by the randomized runner, plus the following:
    
    * `tests.rest.suite`: comma separated paths of the test suites to be run
    (by default loaded from /rest-api-spec/test). It is possible to run only a subset
    of the tests providing a sub-folder or even a single yaml file (the default
    /rest-api-spec/test prefix is optional when files are loaded from classpath)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

    import org.elasticsearch.gradle.internal.test.rest.RestResourcesExtension;
    import org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin;
    import org.elasticsearch.gradle.internal.test.rest.RestTestUtil;
    import org.elasticsearch.gradle.internal.test.rest.InternalYamlRestTestPlugin;
    import org.elasticsearch.gradle.testclusters.TestClustersPlugin;
    import org.elasticsearch.gradle.util.GradleUtils;
    import org.gradle.api.Plugin;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

    import org.elasticsearch.gradle.internal.test.rest.transform.match.AddMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.RemoveMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.ReplaceKeyInMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.match.ReplaceValueInMatch;
    import org.elasticsearch.gradle.internal.test.rest.transform.skip.Skip;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  8. build-tools-internal/build.gradle

        }
        restResources {
          id = 'elasticsearch.rest-resources'
          implementationClass = 'org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin'
        }
        restTest {
          id = 'elasticsearch.rest-test'
          implementationClass = 'org.elasticsearch.gradle.internal.test.RestTestPlugin'
        }
        standaloneRestTest {
          id = 'elasticsearch.standalone-rest-test'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  9. internal/rest/client.go

    		}
    		if len(b) > 0 {
    			return nil, errors.New(string(b))
    		}
    		return nil, errors.New(resp.Status)
    	}
    	if !c.NoMetrics {
    		resp.Body = &respBodyMonitor{ReadCloser: resp.Body, expectTimeouts: expectTimeouts}
    	}
    	return resp.Body, nil
    }
    
    // Call - make a REST call with context.
    func (c *Client) Call(ctx context.Context, rpcMethod string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Lists.java

          implements Serializable, RandomAccess {
        @ParametricNullness final E first;
        final E[] rest;
    
        OnePlusArrayList(@ParametricNullness E first, E[] rest) {
          this.first = first;
          this.rest = checkNotNull(rest);
        }
    
        @Override
        public int size() {
          return IntMath.saturatedAdd(rest.length, 1);
        }
    
        @Override
        @ParametricNullness
        public E get(int index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
Back to Top