Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,446 for needle (0.23 seconds)

  1. src/test/java/jcifs/http/NtlmSspTest.java

        }
    
        @BeforeEach
        public void setUp() throws UnknownHostException {
            ntlmSsp = new NtlmSsp();
    
            // Use lenient stubbing to avoid UnnecessaryStubbing errors for tests that don't need all mocks
            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java

        @Override
        public boolean isFetchNarrowingEffective() {
            return getSqlClause().isFetchNarrowingEffective();
        }
    
        @Override
        public void xdisableFetchNarrowing() {
            // no need to disable in ConditionBean, basically for OutsideSql
            String msg = "This method is unsupported on ConditionBean!";
            throw new UnsupportedOperationException(msg);
        }
    
        @Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                return session.getProjects().stream() // sorted all
                        .filter(projectAndSubmodules::contains)
                        .collect(Collectors.toList()); // sorted and filtered to what we need
            } else {
                return Collections.singletonList(project);
            }
        }
    
        public void resolveProjectDependencies(
                MavenProject project,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. cmd/erasure-decode_test.go

    // explicitly after commenting out t.Skip()
    func TestErasureDecodeRandomOffsetLength(t *testing.T) {
    	if testing.Short() {
    		t.Skip()
    	}
    	// Initialize environment needed for the test.
    	dataBlocks := 7
    	parityBlocks := 7
    	blockSize := int64(1 * humanize.MiByte)
    	setup, err := newErasureTestSetup(t, dataBlocks, parityBlocks, blockSize)
    	if err != nil {
    		t.Error(err)
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

         * Reads a byte of data from this input stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

            TreeConnectResponse response = null;
            try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) {
                synchronized (transport) {
    
                    // this needs to be done before the reference to the remote hostname later
                    transport.ensureConnected();
    
                    if (waitForState(transport) == 2) {
                        // already connected
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  9. cmd/bucket-metadata-sys.go

    	}
    
    	meta, err := loadBucketMetadataParse(ctx, objAPI, bucket, parse)
    	if err != nil {
    		if !globalIsErasure && !globalIsDistErasure && errors.Is(err, errVolumeNotFound) {
    			// Only single drive mode needs this fallback.
    			meta = newBucketMetadata(bucket)
    		} else {
    			return updatedAt, err
    		}
    	}
    	updatedAt = UTCNow()
    	switch configFile {
    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        @Test
        @DisplayName("Should handle offset exceeding buffer")
        void testOffsetExceedsBuffer() {
            // Given
            byte[] buffer = new byte[20];
            int offset = 10; // Only 10 bytes remaining, need 16
            SMBUtil.writeInt2(16, buffer, offset); // Write valid structure size
    
            // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top