Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2281 - 2290 of 5,478 for newA (0.02 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestRingBuffer_interface(t *testing.T) {
    	rb := New(1)
    	var _ io.Writer = rb
    	var _ io.Reader = rb
    	// var _ io.StringWriter = rb
    	var _ io.ByteReader = rb
    	var _ io.ByteWriter = rb
    }
    
    func TestRingBuffer_Write(t *testing.T) {
    	rb := New(64)
    
    	// check empty or full
    	if !rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is true but got false")
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new dictionary file.
         *
         * @param id The ID of the dictionary file.
         * @param path The path of the dictionary file.
         * @param timestamp The timestamp of the dictionary file.
         * @return A new dictionary file.
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

         */
        int getTerminalWidth();
    
        /**
         * Creates a new message builder.
         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder();
    
        /**
         * Creates a new message builder of the specified size.
         * @param size the initial size of the message builder buffer
         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder(int size);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      private static final Logger logger = Logger.getLogger(LoggingInterceptors.class.getName());
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new LoggingInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

                    }
                }
            },
            "webhooks": {
                "new-subscription": {
                    "post": {
                        "summary": "New Subscription",
                        "description": "When a new user subscribes to your service we'll send you a POST request with this\ndata to the URL that you register for the event `new-subscription` in the dashboard.",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<E> list = new ArrayList<>();
        addAll(list, elements);
        return list;
      }
    
      public static <E extends @Nullable Object> List<E> copyToList(E[] elements) {
        return copyToList(asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
      public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) {
        Set<E> set = new LinkedHashSet<>();
        addAll(set, elements);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing"));
            assertFalse(handle.isSMB2());
        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Name.java

            if (n == 0) {
                scope = null;
                return 1;
            }
    
            try {
                sb = new StringBuilder(new String(src, srcIndex, n, Name.OEM_ENCODING));
                srcIndex += n;
                while ((n = src[srcIndex++] & 0xFF) != 0) {
                    sb.append('.').append(new String(src, srcIndex, n, Name.OEM_ENCODING));
                    srcIndex += n;
                }
                scope = sb.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                return ("SmbFindFileBothDirectoryInfo[" + "nextEntryOffset=" + nextEntryOffset + ",fileIndex=" + fileIndex + ",creationTime="
                        + new Date(creationTime) + ",lastAccessTime=" + new Date(lastAccessTime) + ",lastWriteTime=" + new Date(lastWriteTime)
                        + ",changeTime=" + new Date(changeTime) + ",endOfFile=" + endOfFile + ",allocationSize=" + allocationSize
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    new File(pom.getBasedir(), "target/classes/dir0"), new File((String) pom.getValue("properties/dir0")));
            assertEquals(new File(pom.getBasedir(), "src/test/dir1"), new File((String) pom.getValue("properties/dir1")));
            assertEquals(
                    new File(pom.getBasedir(), "target/site/dir2"), new File((String) pom.getValue("properties/dir2")));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
Back to top