Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 2,079 for nkey (0.03 seconds)

  1. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  2. tests/test_enforce_once_required_parameter.py

    from fastapi import Depends, FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    def _get_client_key(client_id: str = Query(...)) -> str:
        return f"{client_id}_key"
    
    
    def _get_client_tag(client_id: str | None = Query(None)) -> str | None:
        if client_id is None:
            return None
        return f"{client_id}_tag"
    
    
    @app.get("/foo")
    def foo_handler(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
        interface BuildBucketProvider {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  4. cmd/object-api-datatypes.go

    	// after which listing should begin.
    	KeyMarker string
    
    	// Together with key-marker, specifies the multipart upload after which listing
    	// should begin. If key-marker is not specified, the upload-id-marker parameter
    	// is ignored.
    	UploadIDMarker string
    
    	// When a list is truncated, this element specifies the value that should be
    	// used for the key-marker request parameter in a subsequent request.
    	NextKeyMarker string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

        EntryTransformer<String, Boolean, String> flagPrefixer =
            new EntryTransformer<String, Boolean, String>() {
              @Override
              public String transformEntry(String key, Boolean value) {
                return value ? key : "no" + key;
              }
            };
        Map<String, String> transformed = transformEntries(options, flagPrefixer);
        assertThat(transformed.toString()).isEqualTo("{verbose=verbose, sort=nosort}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Adds an initial facet parameter mapping.
         *
         * @param key the parameter key
         * @param value the parameter value
         */
        public void addInitFacetParam(final String key, final String value) {
            initFacetParamMap.put(value, key);
        }
    
        /**
         * Gets the initial facet parameter mappings.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  7. cmd/xl-storage-format_test.go

    			}
    		}
    	}
    
    	for key, val := range unMarshalXLMeta.Meta {
    		jsoniterVal, exists := jsoniterXLMeta.Meta[key]
    		if !exists {
    			t.Errorf("No meta data entry for Key \"%s\" exists.", key)
    		}
    		if val != jsoniterVal {
    			t.Errorf("Expected the value for Meta data key \"%s\" to be \"%s\", but got \"%s\".", key, val, jsoniterVal)
    		}
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/HtmlIndexExportFormatter.java

            html.append("</body>\n");
            html.append("</html>\n");
    
            return html.toString();
        }
    
        private String getStringValue(final Map<String, Object> source, final String key) {
            final Object value = source.get(key);
            return value != null ? value.toString() : "";
        }
    
        private String escapeHtml(final String text) {
            if (text == null || text.isEmpty()) {
                return "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class RequestBodyCompression {
      /**
       * The Google API KEY for OkHttp recipes. If you're using Google APIs for anything other than
       * running these examples, please request your own client ID!
       *
       * https://console.developers.google.com/project
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. cmd/batch-handlers.go

    						oi = toObjectInfo(r.Source.Bucket, obj.Key, oi2)
    					} else {
    						if !isErrMethodNotAllowed(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) &&
    							!isErrObjectNotFound(ErrorRespToObjectError(err, r.Source.Bucket, obj.Key)) {
    							batchLogIf(ctx, err)
    						}
    						continue
    					}
    				}
    				if hasTags {
    					tags, err := c.GetObjectTagging(ctx, r.Source.Bucket, obj.Key, minio.GetObjectTaggingOptions{})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
Back to Top