Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for setitimer (0.13 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * 文字列を{@link Time}に変換します。
         *
         * @param str
         *            文字列
         * @return 変換された{@link Time}
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * 文字列を{@link Timestamp}に変換します。
         *
         * @param str
         *            文字列
         * @return 変換された{@link Timestamp}
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers_test.go

    func (w *timeIncrementingWorkers) UpdatePod(options UpdatePodOptions, afterFns ...func()) {
    	func() {
    		w.lock.Lock()
    		defer w.lock.Unlock()
    		w.w.UpdatePod(options)
    		w.w.clock.(*clocktesting.FakePassiveClock).SetTime(w.w.clock.Now().Add(time.Second))
    		for _, fn := range afterFns {
    			fn()
    		}
    	}()
    	w.drainUnpausedWorkers()
    }
    
    // SyncKnownPods increments the clock after SyncKnownPods is called, but before the workers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * 文字列を{@link java.sql.Date}に変換します。
         *
         * @param str
         *            文字列
         * @return 変換された{@link java.sql.Date}
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. pkg/kubelet/images/image_gc_manager_test.go

    	assert.Len(fakeRuntime.ImageList, 2)
    
    	// Move clock by a lot, and the images should continue to not be garbage colleced
    	// See https://stackoverflow.com/questions/25065055/what-is-the-maximum-time-time-in-go
    	fakeClock.SetTime(time.Unix(1<<63-62135596801, 999999999))
    	images, err = manager.freeOldImages(ctx, images, fakeClock.Now(), oldStartTime)
    	require.NoError(t, err)
    	assert.Len(images, 1)
    	assert.Len(fakeRuntime.ImageList, 2)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				queue.AddUnschedulableIfNotPresent(logger, pInfo, 1)
    				// Override clock to exceed the DefaultPodMaxInUnschedulablePodsDuration so that unschedulable pods
    				// will be moved to activeQ
    				c.SetTime(timestamp.Add(DefaultPodMaxInUnschedulablePodsDuration + 1))
    				queue.flushUnschedulablePodsLeftover(logger)
    			},
    			wantAttempts:         2,
    			wantInitialAttemptTs: timestamp,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top