Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 757 for switches (0.05 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/archive/tar/writer.go

    		tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second)
    		tw.hdr.AccessTime = time.Time{}
    		tw.hdr.ChangeTime = time.Time{}
    	}
    
    	allowedFormats, paxHdrs, err := tw.hdr.allowedFormats()
    	switch {
    	case allowedFormats.has(FormatUSTAR):
    		tw.err = tw.writeUSTARHeader(&tw.hdr)
    		return tw.err
    	case allowedFormats.has(FormatPAX):
    		tw.err = tw.writePAXHeader(&tw.hdr, paxHdrs)
    		return tw.err
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            return dstIndex - start;
        }
    
    
        /**
         * @param informationLevel2
         * @return
         */
        static long mapInformationLevel ( int il ) {
            switch ( il ) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top