Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 900 for set_s (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> range = Range.closed(3, 5);
        assertTrue(range.containsAll(asList(3, 3, 4, 5)));
        assertFalse(range.containsAll(asList(3, 3, 4, 5, 6)));
    
        // We happen to know that natural-order sorted sets use a different code
        // path, so we test that separately
        assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
        assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/DES.java

            key8[7] = (byte) (key7[6] & 0x7F);
            for (i = 0; i < 8; i++) {
                key8[i] = (byte) (key8[i] << 1);
            }
        }
    
        /// Set the key.
        /**
         * Sets the DES encryption key
         * @param key the 8-byte DES key
         */
        public void setKey(final byte[] key) {
    
            // CHECK PAROTY TBD
            deskey(key, true, encryptKeys);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    /// tip
    
    The syntax `{"name", "description"}` creates a `set` with those two values.
    
    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s { #using-lists-instead-of-sets }
    
    If you forget to use a `set` and use a `list` or `tuple` instead, FastAPI will still convert it to a `set` and it will work correctly:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/response-model.md

    /// tip | Dica
    
    A sintaxe `{"name", "description"}` cria um `set` com esses dois valores.
    
    É equivalente a `set(["name", "description"])`.
    
    ///
    
    #### Usando `list`s em vez de `set`s { #using-lists-instead-of-sets }
    
    Se você esquecer de usar um `set` e usar uma `list` ou `tuple` em vez disso, o FastAPI ainda o converterá em um `set` e funcionará corretamente:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. cmd/bucket-metadata-sys.go

    		if diskBuckets.Contains(bucket) {
    			continue
    		} // doesn't exist on disk remove from memory.
    		delete(sys.metadataMap, bucket)
    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  6. internal/config/config.go

    		tgt := strings.TrimPrefix(e, envname+Default)
    		if tgt == envname {
    			tgt = Default
    		}
    		newCfgKVS[tgt] = defaultKVS
    	}
    	maps.Copy(newCfgKVS, cfgKVS)
    	return newCfgKVS
    }
    
    // Set sets a value, if not sets a default value.
    func (kvs *KVS) Set(key, value string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			(*kvs)[i] = KV{
    				Key:   key,
    				Value: value,
    			}
    			return
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testGzipSetsCompressionToGzip() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Call gzip() and verify it sets compression
            request.gzip();
    
            // We can't directly access compression field, but we can verify the method returns this
            assertSame(request, request.gzip());
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  countMap.remove(element, existingCounter);
                }
                return oldValue;
              }
            }
          }
        }
      }
    
      /**
       * Sets the number of occurrences of {@code element} to {@code newCount}, but only if the count is
       * currently {@code expectedOldCount}. If {@code element} does not appear in the multiset exactly
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Joiner.java

         *
         * In theory, we can quickly determine the size of any Collection. However, thanks to
         * regrettable implementations like our own Sets.filter, Collection.size() is sometimes a
         * linear-time operation, and it can even have side effects. Thus, we limit the special case to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top