Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 1,890 for instance (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertNotNull(factory);
        // Executors#defaultThreadFactory() may return a new instance each time.
        assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass());
      }
    
      public void testThreadRenaming() {
        Executor renamingExecutor =
            renamingDecorator(newDirectExecutorService(), Suppliers.ofInstance("FooBar"));
        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    We annotate the function return type as `BaseUser`, but we are actually returning a `UserIn` instance.
    
    The editor, mypy, and other tools won't complain about this because, in typing terms, `UserIn` is a subclass of `BaseUser`, which means it's a *valid* type when what is expected is anything that is a `BaseUser`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    		sys.arnErrsMap[arn] = arnErrs{
    			updateInProgress: v.updateInProgress,
    			count:            v.count + 1,
    		}
    	}
    }
    
    // GetRemoteTargetClient returns minio-go client for replication target instance
    func (sys *BucketTargetSys) GetRemoteTargetClient(bucket, arn string) *TargetClient {
    	sys.RLock()
    	tgt := sys.arnRemotesMap[arn]
    	sys.RUnlock()
    
    	if tgt.Client != nil {
    		return tgt.Client
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_ADDED_EXISTING_EDGE =
          "Reusing an existing edge to connect different nodes succeeded";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Network<Integer, String> createGraph();
    
      /**
       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

         * @return float representation of the value, or 0.0f if conversion fails
         */
        protected float toFloat(final Object value) {
            if (value instanceof final Float f) {
                return f;
            }
            if (value instanceof final String s) {
                return Float.parseFloat(s);
            }
            return 0.0f;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[40:45] hl[40:45] *}
    
    </details>
    
    Aquí usamos la dependencia `SessionDep` (una `Session`) para añadir el nuevo `Hero` a la instance `Session`, comiteamos los cambios a la base de datos, refrescamos los datos en el `hero` y luego lo devolvemos.
    
    ### Leer Heroes
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Register a file with cache for a path
         *
         * @param path file path
         * @param file SmbFile instance
         */
        public void registerFileCache(String path, SmbFile file) {
            if (file != null) {
                fileCache.put(path, new WeakReference<>(file));
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics.go

    	startTime            time.Time // Start time for window
    	expMovingAvg         float64   // Previously calculated exponential moving average
    }
    
    // newRateMeasurement creates a new instance of the measurement with the initial start time.
    func newRateMeasurement(initTime time.Time) *rateMeasurement {
    	return &rateMeasurement{
    		startTime: initTime,
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            testRule.register(0);
            testRule.register(1);
    
            List<Rule> rules = ruleManager.getRules();
            assertEquals(3, rules.size());
    
            // All should be the same instance
            assertSame(testRule, rules.get(0));
            assertSame(testRule, rules.get(1));
            assertSame(testRule, rules.get(2));
        }
    
        /**
         * Test property changes after registration
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top