Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3271 - 3280 of 5,478 for newA (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        final Chopper or(Chopper you) {
          Chopper i = this;
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              return i.chop(str).or(you.chop(str));
            }
          };
        }
    
        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

     */
    @DisplayName("PluginUpgradeStrategy")
    class PluginUpgradeStrategyTest {
    
        private PluginUpgradeStrategy strategy;
    
        @BeforeEach
        void setUp() {
            strategy = new PluginUpgradeStrategy();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        private UpgradeContext createMockContext(UpgradeOptions options) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. internal/etag/etag.go

    	v, ok := h["Content-Md5"]
    	if !ok {
    		return nil, nil
    	}
    	if v[0] == "" {
    		return nil, errors.New("etag: content-md5 is set but contains no value")
    	}
    	b, err := base64.StdEncoding.Strict().DecodeString(v[0])
    	if err != nil {
    		return nil, err
    	}
    	if len(b) != md5.Size {
    		return nil, errors.New("etag: invalid content-md5")
    	}
    	return ETag(b), nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else if (o instanceof String) {
                return toDouble((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Double.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return Double.valueOf(((java.util.Date) o).getTime());
            } else {
                return toDouble(o.toString());
            }
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

     * Data configs allow administrators to set up crawling of various data sources
     * including databases, CSV files, and other structured data sources.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /** CRUD operation mode (CREATE, EDIT, etc.) */
        @ValidateTypeFailure
        public Integer crudMode;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

            }
    
            return asStream(form.docId).contentType(getImageMimeType(thumbnailFile)).stream(out -> {
                try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(thumbnailFile))) {
                    out.write(in);
                }
            });
        }
    
        /**
         * Determines the MIME type of an image file based on its file extension.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        }
    
        @Override
        public DcerpcException getResult() {
            if (result != 0) {
                return new DcerpcException(getResultMessage(result));
            }
            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        /**
         * Constructs a new DcerpcBind message.
         */
        public DcerpcBind() {
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         * @param message The error message
         */
        public static void setError(final int statusCode, final String message) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message)));
        }
    
        /**
         * Sets an error in the current request with the specified status code and exception.
         *
         * @param statusCode The HTTP status code
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        private SessionServicePacket ssp;
        private int bip, n;
        private final byte[] header, tmp;
    
        SocketInputStream(final InputStream in) {
            this.in = in;
            header = new byte[4];
            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
            assertEquals(-1 - nextHigherIndex, answer);
            return;
        }
        throw new AssertionError();
      }
    
      public void testWithoutDups() {
        for (KeyPresentBehavior presentBehavior : KeyPresentBehavior.values()) {
          for (KeyAbsentBehavior absentBehavior : KeyAbsentBehavior.values()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top