Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 253 for cloneOf (0.08 sec)

  1. guava-tests/test/com/google/common/reflect/TypesTest.java

            .asList()
            .containsExactlyElementsIn(asList(expected.getBounds()))
            .inOrder();
      }
    
      /**
       * Working with arrays requires defensive code. Verify that we clone the type array for both input
       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. finisher_api.go

    	panicked = false
    	return
    }
    
    // Begin begins a transaction with any transaction options opts
    func (db *DB) Begin(opts ...*sql.TxOptions) *DB {
    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	switch beginner := tx.Statement.ConnPool.(type) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/KerberosTest.java

                }
                catch ( Exception e ) {
                    throw new CIFSException("Failed to refresh credentials", e);
                }
            }
    
    
            @Override
            public Kerb5Authenticator clone () {
                Kerb5Authenticator auth = new RefreshableKerb5Authenticator(getSubject(), getUserDomain(), getUser(), getPassword());
                cloneInternal(auth, this);
                return auth;
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            this.ctx = ctx;
            this.url = u;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#clone()
         */
        @Override
        protected SmbResourceLocatorImpl clone () {
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg log/slog, method (*Record) AddAttrs(...Attr) #56345
    pkg log/slog, method (*Record) Add(...interface{}) #56345
    pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060
    pkg log/slog, method (Record) Clone() Record #56345
    pkg log/slog, method (Record) NumAttrs() int #56345
    pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345
    pkg log/slog, method (*TextHandler) Handle(context.Context, Record) error #56345
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            if (remoteRepository == null) {
                return versioning;
            }
    
            Versioning filteredVersions = versioning.clone();
    
            for (String version : versioning.getVersions()) {
                if (!remoteRepository
                        .getPolicy(DefaultModelVersionParser.checkSnapshot(version))
                        .isEnabled()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

        private final OpenOption[] options;
        private final boolean followLinks;
    
        private PathByteSource(Path path, OpenOption... options) {
          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

        private final OpenOption[] options;
        private final boolean followLinks;
    
        private PathByteSource(Path path, OpenOption... options) {
          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
          return new ScaleAndIndexes(scale, indexes.clone());
        }
    
        /**
         * Specifies multiple quantile indexes to be calculated, each index being the k in the kth
         * q-quantile.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return asList(elements.clone());
                  }
                })
            .named("Arrays.asList")
            .withFeatures(
                ListFeature.SUPPORTS_SET,
                CollectionFeature.SERIALIZABLE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top