Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 629 for res2 (0.02 seconds)

  1. internal/config/identity/openid/provider/keycloak.go

    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusPartialContent:
    		var u User
    		if err = json.NewDecoder(resp.Body).Decode(&u); err != nil {
    			return User{}, err
    		}
    		return u, nil
    	case http.StatusNotFound:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  2. cmd/admin-handlers-idp-openid.go

    			return users[i].MinioAccessKey < users[j].MinioAccessKey
    		})
    		resp = append(resp, madmin.ListAccessKeysOpenIDResp{
    			ConfigName: cfgName,
    			Users:      users,
    		})
    	}
    	sort.Slice(resp, func(i, j int) bool {
    		return resp[i].ConfigName < resp[j].ConfigName
    	})
    
    	data, err := json.Marshal(resp)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

    /**
     * Copies the files needed for the Rest YAML specs to the current projects test resources output directory.
     * This is intended to be be used from {@link RestResourcesPlugin} since the plugin wires up the needed
     * configurations and custom extensions.
     *
     * @see RestResourcesPlugin
     */
    public class CopyRestApiTask extends DefaultTask {
        private static final String REST_API_PREFIX = "rest-api-spec/api";
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  4. internal/kms/kms.go

    	return DEK{
    		KeyID:      name,
    		Version:    resp[0].Version,
    		Plaintext:  resp[0].Plaintext,
    		Ciphertext: resp[0].Ciphertext,
    	}, nil
    }
    
    func (c *kmsConn) Decrypt(ctx context.Context, req *DecryptRequest) ([]byte, error) {
    	aad, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return nil, err
    	}
    
    	ciphertext, _ := parseCiphertext(req.Ciphertext)
    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)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java

                        filter.include(DOUBLE_STAR + "/rest-api-spec/api/" + DOUBLE_STAR + "/*.json");
                        filter.exclude(DOUBLE_STAR + "/_common.json");
                    }));
                    // This must always be specified precisely, so that
                    // projects other than `rest-api-spec` can use this task.
                    task.setJsonSchema(new File(project.getRootDir(), "rest-api-spec/src/main/resources/schema.json"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/InfoTest.java

            lastWrite.setLong(resp, 1630000000000L);
            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
            size.setAccessible(true);
            size.setInt(resp, 2048);
    
            assertEquals(0xABCD, resp.getAttributes());
            assertEquals(1630000001000L, resp.getCreateTime());
            assertEquals(1630000001000L, resp.getLastWriteTime());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE
    
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + api).exists()
            file("/build/resources/yamlRestTest/rest-api-spec/test/10_basic.yml").exists()
            file("/build/classes/java/yamlRestTest/MockIT.class").exists()
    
            // check that our copied specs and tests are on the yamlRestTest classpath
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
        return NaturalOrdering.INSTANCE.max(iterator);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                if (this.transact) {
                    final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
                    final TransTransactNamedPipeResponse resp = new TransTransactNamedPipeResponse(th.getConfig(), inB);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. internal/config/identity/plugin/config.go

    	}
    
    	reqStartTime := time.Now()
    	resp, err := o.client.Do(req)
    	if err != nil {
    		o.serviceMetrics.accumRequestRTT(reqStartTime, 0, false)
    		return AuthNResponse{}, err
    	}
    	defer o.args.CloseRespFn(resp.Body)
    	reqDurNanos := time.Since(reqStartTime).Nanoseconds()
    	o.serviceMetrics.accumRequestRTT(reqStartTime, float64(reqDurNanos)/1e6, true)
    
    	switch resp.StatusCode {
    	case 200:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top