Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 242 for getg (0.44 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                jvmPoolObj.capacity = p.getTotalCapacity().getBytes();
                return jvmPoolObj;
            }).toArray(n -> new JvmPoolObj[n]);
            final GarbageCollectors gc = jvmStats.getGc();
            jvmObj.gc = Arrays.stream(gc.getCollectors()).map(c -> {
                final JvmGcObj jvmGcObj = new JvmGcObj();
                jvmGcObj.key = c.getName();
                jvmGcObj.count = c.getCollectionCount();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
        assertEquals(0, totalCalls.get());
        fakePool.runAll();
        assertEquals(2, totalCalls.get());
        // Queue is empty so no runner should be scheduled.
        assertFalse(fakePool.hasNext());
    
        // Check that execute can be safely repeated
        e.execute(intCounter);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

        private static void disable() {
            DISABLE_COUNT.set(DISABLE_COUNT.get() + 1);
        }
    
        private static void maybeEnable() {
            DISABLE_COUNT.set(DISABLE_COUNT.get() - 1);
        }
    
        private static boolean isEnabled() {
            // log deprecation messages only after the outermost whileDisabled finished execution
            return DISABLE_COUNT.get() == 0;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

      compile_options.always_return_tuple = false;
      if (for_pjrt) {
        compile_options.use_tuple_arg = false;
        compile_options.always_return_tuple = true;
      }
    
      return compile_options;
    }
    
    // Gets `variables` from `ctx`, locks them and builds XlaCompiler::Arguments
    // using them. Stores the arguments in `args`. `variables` and `args` passed in
    // will be cleared before populating them.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_device_context.cc

          // Initially wait for the compute stream so that memory allocations are
          // synchronized.
          TF_RETURN_IF_ERROR(host_to_device_stream_->WaitFor(stream_.get()));
        }
    
        TF_RETURN_IF_ERROR(transfer_manager_->TransferLiteralToDeviceAsync(
            host_to_device_stream_.get(), literal, xla_tensor->shaped_buffer()));
    
        if (UseMultipleStreams()) {
          TF_ASSIGN_OR_RETURN(std::shared_ptr<se::Event> event,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

    	decodeErrorCounts.WithLabelValues(resource).Inc()
    }
    
    // Reset resets the etcd_request_duration_seconds metric.
    func Reset() {
    	etcdRequestLatency.Reset()
    }
    
    // sinceInSeconds gets the time since the specified start in seconds.
    //
    // This is a variable to facilitate testing.
    var sinceInSeconds = func(start time.Time) float64 {
    	return time.Since(start).Seconds()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

          continue;
    
        const auto inputs = partitioned_input.getInputs();
        const bool packed_input = partitioned_input.getIsPacked();
        int num_cores_per_replica = partitioned_input.getN();
        if (num_cores_per_replica_attr) {
          num_cores_per_replica = num_cores_per_replica_attr.getInt();
        } else if (packed_input) {
          return partitioned_input->emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/encoding/xml/xml.go

    func (d *Decoder) space() {
    	for {
    		b, ok := d.getc()
    		if !ok {
    			return
    		}
    		switch b {
    		case ' ', '\r', '\n', '\t':
    		default:
    			d.ungetc(b)
    			return
    		}
    	}
    }
    
    // Read a single byte.
    // If there is no byte to read, return ok==false
    // and leave the error in d.err.
    // Maintain line number.
    func (d *Decoder) getc() (b byte, ok bool) {
    	if d.err != nil {
    		return 0, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/range.go

    		}
    
    		// We use a "pointer" to keep track of where we are in the backing array
    		// of the slice hs. This pointer starts at hs.ptr and gets incremented
    		// by the element size each time through the loop.
    		//
    		// It's tricky, though, as on the last iteration this pointer gets
    		// incremented to point past the end of the backing array. We can't
    		// let the garbage collector see that final out-of-bounds pointer.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/wasm/asm.go

    	}
    
    	writeSecSize(ctxt, sizeOffset)
    }
    
    // writeElementSec writes the section that initializes the tables declared by the "table" section.
    // The table for CallIndirect gets initialized in a very simple way so that each table index (PC_F value)
    // maps linearly to the function index (numImports + PC_F).
    func writeElementSec(ctxt *ld.Link, numImports, numFns uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top