Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 757 for switches (0.07 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        /**
         *
         *
         * @param key
         * @return InputLocation
         */
        public InputLocation getLocation(Object key) {
            if (key instanceof String) {
                switch ((String) key) {
                    case "": {
                        return this.location;
                    }
                    default: {
                        return getOtherLocation(key);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(999999);
        assertEquals(0, stopwatch.elapsed(MILLISECONDS));
        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. ci/official/containers/ml_build/Dockerfile

    RUN /setup.python.sh python3.13 builder.requirements.txt
    
    # Since we are using python3.12 as the default python version, we need to
    # install python3.12 last for now.
    # TODO(b/376338367): switch to pyenv.
    RUN /setup.python.sh python3.12 builder.requirements.txt
    
    # Setup links for TensorFlow to compile.
    # Referenced in devel.usertools/*.bazelrc.
    # Set python3.12 as the default python version.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 30 00:07:17 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        public void setInitParameterMap(final Map<String, Object> params) {
            initParamMap = params;
        }
    
        @Override
        public ResponseData execute(final RequestData request) {
            return switch (request.getMethod()) {
            case GET -> doGet(request.getUrl());
            case HEAD -> doHead(request.getUrl());
            case POST -> doPost(request.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static void validateMethod(Method method) {
        String desc = method.toString();
    
        assertTrue(desc, isAnyEnter(method) || isWaitFor(method));
    
        switch (method.getParameterTypes().length) {
          case 0:
            assertFalse(desc, isGuarded(method));
            assertFalse(desc, isTimed(method));
            break;
          case 1:
            if (isDurationBased(method)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. cmd/metrics-v2_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Namespace":
    			{
    				var zb0002 string
    				zb0002, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Namespace")
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/log/Logger.java

            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
            case 'D':
                return new LogMessage(LogLevel.DEBUG, message);
            case 'I':
                return new LogMessage(LogLevel.INFO, message);
            case 'W':
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) Update(bucket string, ri replicatedTargetInfo, status, prevStatus replication.StatusType) {
    	if r == nil {
    		return
    	}
    	var rs replStat
    	switch status {
    	case replication.Pending:
    		if ri.OpType.IsDataReplication() && prevStatus != status {
    			rs.set(ri.Arn, ri.Size, 0, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Completed:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers.go

    				New:   pod,
    				Old:   pod,
    				Event: controllers.EventUpdate,
    			})
    		}
    	}
    }
    
    func (s *InformerHandlers) reconcile(input any) error {
    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

                    off += n;
                    len -= n;
                    bip -= n;
                    if( len == 0 ) {
                        return tot;
                    }
                }
    
                switch( SessionServicePacket.readPacketType( in, header, 0 )) {
                    case SessionServicePacket.SESSION_KEEP_ALIVE:
                        break;
                    case SessionServicePacket.SESSION_MESSAGE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top