Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 389 for training (0.1 seconds)

  1. src/test/java/jcifs/SmbResourceTest.java

                // Then
                assertEquals(expectedName, name, "Should return correct name");
            }
    
            @Test
            @DisplayName("getName should handle directory names with trailing slash")
            void testGetName_DirectoryWithSlash() throws CIFSException {
                // Given
                String expectedName = "testdir/";
                when(mockResource.getName()).thenReturn(expectedName);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        startLatch.await();
    
                        long threadStart = System.nanoTime();
                        for (int i = 0; i < operationsPerThread; i++) {
                            // Simulate the atomic byte tracking operation
                            long start = System.nanoTime();
                            mockBytesEncrypted.addAndGet(1024); // Simulate 1KB message
                            long end = System.nanoTime();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. maven-tests/mvnw

    }
    
    verbose() { :; }
    [ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; }
    
    die() {
      printf %s\\n "$1" >&2
      exit 1
    }
    
    trim() {
      # MWRAPPER-139:
      #   Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds.
      #   Needed for removing poorly interpreted newline sequences when running in more
      #   exotic environments such as mingw bash on Windows.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

     * IOW, AGP X.y officially only supports Gradle X.z.
     *
     * This task leverages that alignment to automatically select which
     * versions of AGP we should test.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateAgpVersions : AbstractVersionsUpdateTask() {
    
        @get:Internal
        abstract val currentGradleVersion: Property<GradleVersion>
    
        @get:Internal
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
        }
    
        @Test
        @DisplayName("Test constructor with standard path")
        void testConstructorWithStandardPath() {
            // Test standard path without trailing backslash
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path", "*.txt", 0x16, 10, 1024);
    
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2FindFirst2.getCommand());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/DfsTest.java

            dr.pathConsumed = path.length();
    
            dfs.insert(path, dr);
    
            assertNotNull(dfs.referrals);
            assertFalse(dfs.referrals.map.isEmpty());
            String key = "\\server\\share\\folder"; // Trailing slash should be removed
            assertTrue(dfs.referrals.map.containsKey(key.toLowerCase()));
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

             * @return this builder for method chaining
             */
            public SearchConditionBuilder query(final String query) {
                this.query = query;
                return this;
            }
    
            /**
             * Sets the search request type.
             *
             * @param searchRequestType the search request type
             * @return this builder for method chaining
             */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 122.4K bytes
    - Click Count (1)
  8. cmd/object-api-utils.go

    }
    
    // pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
    func pathJoin(elem ...string) string {
    	sb := bytebufferpool.Get()
    	defer func() {
    		sb.Reset()
    		bytebufferpool.Put(sb)
    	}()
    
    	return pathJoinBuf(sb, elem...)
    }
    
    // pathJoinBuf - like path.Join() but retains trailing SlashSeparator of the last element.
    // Provide a string builder to reduce allocation.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("special", result.getServer());
            }
    
            @Test
            @DisplayName("Should adjust path consumed for trailing slash")
            void testFromReferralWithTrailingSlash() {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  10. internal/grid/trace.go

    // This is only needed when un-typed requests are used.
    // MSS, map[string]string types are preferred, but any struct with exported fields will work.
    type TraceParamsKey struct{}
    
    // traceRequests adds request tracing to the connection.
    func (c *Connection) traceRequests(p *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) {
    	c.trace = &tracer{
    		Publisher: p,
    		TraceType: madmin.TraceInternal,
    		Prefix:    "grid",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 01 05:17:37 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top