Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,426 for Call (0.02 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            AtomicInteger calls = new AtomicInteger();
            doAnswer(inv -> {
                int len = inv.getArgument(2);
                // First call returns len-1, second returns 1
                return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1;
            }).when(raf).read(any(byte[].class), anyInt(), anyInt());
            byte[] dst = new byte[4];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    			// that for fresh PutObject() call dstDataPath can never exist.
    			// if its an overwrite then the caller deletes the DataDir
    			// in a separate RPC call.
    			s.moveToTrash(dstDataPath, true, false)
    
    			// If we are healing we should purge any legacyDataPath content,
    			// that was previously preserved during PutObject() call
    			// on a versioned bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. callbacks/preload.go

    	}
    	for _, relations := range embeddedRelations.EmbeddedRelations {
    		names = append(names, embeddedValues(relations)...)
    	}
    	return names
    }
    
    // preloadEntryPoint enters layer by layer. It will call real preload if it finds the right entry point.
    // If the current relationship is embedded or joined, current query will be ignored.
    //
    //nolint:cyclop
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		api.Logger = noLog
    	}
    
    	// Pass in console application config. This needs to happen before the
    	// ConfigureAPI() call.
    	consoleapi.GlobalMinIOConfig = consoleapi.MinIOConfig{
    		OpenIDProviders: buildOpenIDConsoleConfig(),
    	}
    
    	server := consoleapi.NewServer(api)
    	// register all APIs
    	server.ConfigureAPI()
    
    	consolePort, _ := strconv.Atoi(globalMinioConsolePort)
    
    	server.Host = globalMinioConsoleHost
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  6. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              }
            };
        assertFailure(tester);
      }
    
      /**
       * This Iterator wraps another iterator and gives it a bug found in JDK6.
       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            byte[] type2Token = type2Message.toByteArray();
    
            context.initSecContext(type2Token, 0, type2Token.length); // state -> 3 (established)
    
            // Try to call again
            SmbException e = assertThrows(SmbException.class, () -> {
                context.initSecContext(new byte[0], 0, 0);
            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/ASN1UtilTest.java

            DLSequence sequence = new DLSequence(vector);
            assertThrows(StackOverflowError.class, () -> {
                ASN1Util.as(ASN1Integer.class, sequence, 0);
            }, "Should throw StackOverflowError due to recursive call");
        }
    
        // --- readUnparsedTagged ---
    
        @Test
        void testReadUnparsedTagged_Success() throws IOException {
            // Tag [1] IMPLICIT, content is 0x01 0x02 0x03
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Then
                assertNotNull(newResponse);
                // Verify the response was created successfully with the configuration
                // The constructor doesn't actually call any methods on the config during construction
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            assertEquals("test_rank_fusion", rankFusionSearcher.getName());
        }
    
        public void test_getName_cachesBehavior() {
            // Test that getName() caches the result after first call
            String firstName = rankFusionSearcher.getName();
            String secondName = rankFusionSearcher.getName();
            assertSame(firstName, secondName);
            assertEquals("test_rank_fusion", firstName);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top