Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,697 for _key (0.04 sec)

  1. internal/store/store.go

    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) (Key, error)
    	PutMultiple(item []I) (Key, error)
    	Get(key Key) (I, error)
    	GetMultiple(key Key) ([]I, error)
    	GetRaw(key Key) ([]byte, error)
    	PutRaw(b []byte) (Key, error)
    	Len() int
    	List() []Key
    	Del(key Key) error
    	Open() error
    	Delete() error
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
        return map.getOrDefault(key, 0L);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SortedLists.java

          Function<? super E, K> keyFunction,
          K key,
          KeyPresentBehavior presentBehavior,
          KeyAbsentBehavior absentBehavior) {
        checkNotNull(key);
        return binarySearch(
            list, keyFunction, key, Ordering.natural(), presentBehavior, absentBehavior);
      }
    
      /**
       * Binary searches the list for the specified key, using the specified key function.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. internal/store/store_test.go

    			t.Fatalf("case[%v]: Expected key.Compress: %v, got %v", i, testCase.expectedKey.Compress, key.Compress)
    		}
    		if testCase.expectedKey.Extension != key.Extension {
    			t.Fatalf("case[%v]: Expected key.Extension: %v, got %v", i, testCase.expectedKey.Extension, key.Extension)
    		}
    		if testCase.expectedKey.ItemCount != key.ItemCount {
    			t.Fatalf("case[%v]: Expected key.ItemCount: %v, got %v", i, testCase.expectedKey.ItemCount, key.ItemCount)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
        assertFailsWith<IllegalArgumentException> {
          builder.header("sample\tkey", "value")
        }
      }
    
      @Test
      fun headerForbidsControlCharacters() {
        assertForbiddenHeader("\u0000")
        assertForbiddenHeader("\r")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/MapIteratorCache.java

      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return getWithoutCaching(key);
        } else {
          return value;
        }
      }
    
      @CheckForNull
      final V getWithoutCaching(Object key) {
        checkNotNull(key);
        return backingMap.get(key);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. internal/store/queuestore.go

    	}
    	key := Key{
    		Name:      uid.String(),
    		Extension: store.fileExt,
    		ItemCount: 1,
    	}
    	return key, store.write(key, item)
    }
    
    // PutRaw - puts the raw bytes to the store
    func (store *QueueStore[I]) PutRaw(b []byte) (Key, error) {
    	store.Lock()
    	defer store.Unlock()
    	if uint64(len(store.entries)) >= store.entryLimit {
    		return Key{}, errLimitExceeded
    	}
    	// Generate a new UUID for the key.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. internal/kms/conn.go

    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(context.Context, *CreateKeyRequest) error
    
    	ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error)
    
    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    	// The KMS may use a default key if the key ID is empty.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/user/admin_user_details.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.user_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 17.8K bytes
    - Viewed (0)
  10. internal/logger/help.go

    			Key:         ClientCert,
    			Description: "mTLS certificate for webhook authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientKey,
    			Description: "mTLS certificate key for webhook authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         BatchSize,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top