Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 729 for GetKey (0.12 sec)

  1. tests/common/jwt/jwt_token_test.go

    package jwt
    
    import (
    	"encoding/json"
    	"os"
    	"reflect"
    	"testing"
    
    	"github.com/lestrrat-go/jwx/jwa"
    	"github.com/lestrrat-go/jwx/jwk"
    	"github.com/lestrrat-go/jwx/jws"
    )
    
    func getKey(jwksFile string, t *testing.T) any {
    	t.Helper()
    
    	data, err := os.ReadFile(jwksFile)
    	if err != nil {
    		t.Fatalf("failed to read jwks: %s", err)
    	}
    	jwks, err := jwk.Parse(data)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[entryIndex]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int tableIndex = Hashing.smear(key.hashCode()) & mask;
          ImmutableMapEntry<K, V> keyBucketHead = table[tableIndex];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    final CrawlingInfoParam crawlingInfoParam = new CrawlingInfoParam();
                    crawlingInfoParam.setCrawlingInfoId(crawlingInfo.getId());
                    crawlingInfoParam.setKey(entry.getKey());
                    crawlingInfoParam.setValue(entry.getValue());
                    crawlingInfoParamList.add(crawlingInfoParam);
                }
                getCrawlingInfoService().storeInfo(crawlingInfoParamList);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        Entry<K, V> entry = lastEntry();
        if (entry == null) {
          throw new NoSuchElementException();
        } else {
          return entry.getKey();
        }
      }
    
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. pkg/kube/krt/helpers.go

    	acmetav1 "k8s.io/client-go/applyconfigurations/meta/v1"
    	"k8s.io/client-go/tools/cache"
    
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/ptr"
    )
    
    // GetKey returns the key for the provided object.
    // If there is none, this will panic.
    func GetKey[O any](a O) Key[O] {
    	if k, ok := tryGetKey[O](a); ok {
    		return k
    	}
    
    	// Kubernetes types are pointers, which means our types would be double pointers
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        }
    
        public Object getKey() {
            return "project " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        public void merge(ArtifactMetadata metadata) {
            ProjectArtifactMetadata m = (ProjectArtifactMetadata) metadata;
            if (!m.file.equals(file)) {
                throw new IllegalStateException("Cannot add two different pieces of metadata for: " + getKey());
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        boolean changed = false;
        while (entryIterator.hasNext()) {
          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

                }
                versions.put(plugin.getKey(), plugin.getVersion());
            }
    
            PluginManagement pluginManagement = project.getPluginManagement();
            if (pluginManagement != null) {
                for (Plugin plugin : pluginManagement.getPlugins()) {
                    if (plugin.getVersion() == null) {
                        plugin.setVersion(versions.get(plugin.getKey()));
                        if (plugin.getVersion() == null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/DocMap.java

                Collections.sort(list, (o1, o2) -> {
                    final String k1 = o1.getKey();
                    if (LANG_KEY.equals(k1)) {
                        return -1;
                    }
                    final String k2 = o2.getKey();
                    if (LANG_KEY.equals(k2)) {
                        return -1;
                    }
                    return k1.compareTo(k2);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

                        for (String className : entry.getValue()) {
                            warning.append("    * " + className + "\n");
                        }
                        getLogger().warn(warning.toString());
                    }
                    mappingFileWriter.print(entry.getKey());
                    mappingFileWriter.print(":");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top