Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,704 for object1 (0.04 sec)

  1. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/templates.md

    ## Using `Jinja2Templates` { #using-jinja2templates }
    
    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Query command implementation for handling Boolean queries.
     * Converts Lucene BooleanQuery objects to OpenSearch BoolQueryBuilder objects.
     */
    public class BooleanQueryCommand extends QueryCommand {
        /**
         * Default constructor for BooleanQueryCommand.
         */
        public BooleanQueryCommand() {
            super();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

            }
        }
    
        /**
         * Returns the list of authorization data.
         *
         * @return list of KerberosAuthData objects
         */
        public List<KerberosAuthData> getAuthorizations() {
            return this.authorizations;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator nonAnon = new Kerb5Authenticator(new Subject());
            assertFalse(nonAnon.isAnonymous());
        }
    
        static Object[][] preferredMechData_nonAnonymous() {
            return new Object[][] { { Kerb5Context.SUPPORTED_MECHS[0], true }, { Kerb5Context.SUPPORTED_MECHS[1], true },
                    { new ASN1ObjectIdentifier("1.2.3.4.5"), false } };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. cmd/bitrot.go

    		if err != nil {
    			// Read's failed for object with right size, file is corrupt.
    			return err
    		}
    		// Subtract hash length..
    		left -= int64(n)
    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    		if err != nil {
    			// Read's failed for object with right size, at different offsets.
    			return errFileCorrupt
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          int n = multiset.entrySet().size();
          elements = (E[]) new Object[n];
          counts = new int[n];
          int i = 0;
          for (Entry<E> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
            i++;
          }
        }
    
        Object readResolve() {
          int n = elements.length;
          Builder<E> builder = new Builder<>(comparator);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectPreconditions.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                () -> ImmutableSortedMap.copyOf((Set<Entry<Integer, Integer>>) source.entrySet()));
          }
        }
      }
    
      private static <K, V> void assertMapEquals(Map<K, V> map, Object... alternatingKeysAndValues) {
        Map<Object, Object> expected = new LinkedHashMap<>();
        for (int i = 0; i < alternatingKeysAndValues.length; i += 2) {
          expected.put(alternatingKeysAndValues[i], alternatingKeysAndValues[i + 1]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top