Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2911 - 2920 of 4,785 for New (0.02 sec)

  1. src/main/java/jcifs/BufferCache.java

    package jcifs;
    
    
    /**
     * Internal API for managing reusable buffers
     * 
     * @author mbechler
     * @internal
     */
    public interface BufferCache {
    
        /**
         * 
         * @return a buffer from the cache, or a new one
         */
        byte[] getBuffer ();
    
    
        /**
         * Return a buffer to the cache
         * 
         * @param buf
         */
        void releaseBuffer ( byte[] buf );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/DefaultEventSpyContext.java

    import java.util.Map;
    
    import org.apache.maven.eventspy.EventSpy;
    
    /**
     * DefaultEventSpyContext
     */
    public class DefaultEventSpyContext implements EventSpy.Context {
    
        private final Map<String, Object> data = new HashMap<>();
    
        public Map<String, Object> getData() {
            return data;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonA.java

    /**
     * Wagon for testing, for protocol <code>a</code>
     *
     */
    @Named("a")
    @Singleton
    public class WagonA extends WagonMock {
        public String[] getSupportedProtocols() {
            return new String[] {"a"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonB.java

    /**
     * Wagon for testing, for protocols <code>b1</code> and <code>b2</code>
     *
     */
    @Named("b")
    @Singleton
    public class WagonB extends WagonMock {
        public String[] getSupportedProtocols() {
            return new String[] {"b1", "b2"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonC.java

    /**
     * Wagon for testing, for protocol <code>c</code>
     *
     */
    @Named("c")
    @Singleton
    public class WagonC extends WagonMock {
        public String[] getSupportedProtocols() {
            return new String[] {"c"};
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. internal/once/singleton.go

    package once
    
    // Singleton contains a pointer to T that must be set once.
    // Until the value is set all Get() calls will block.
    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepUpload.kt

            name = "Nightly Snapshot (from QuickFeedback) - Upload"
            description = "Builds and uploads the latest successful changes on '${branch.branchName}' from Quick Feedback as a new distribution"
    
            steps {
                buildStep(
                    ******@****.***arameters,
                    ******@****.***rName,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jul 25 21:00:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		format = batchExpireFormat
    	default:
    		return errors.New("no supported batch job request specified")
    	}
    
    	data, err := readConfig(ctx, api, path)
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) || isErrObjectNotFound(err) {
    			return errNoSuchJob
    		}
    		return err
    	}
    	if len(data) == 0 {
    		// Seems to be empty create a new batchRepl object.
    		return nil
    	}
    	if len(data) <= 4 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top