Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 562 for Pytest (0.03 sec)

  1. src/main/java/jcifs/SmbRandomAccess.java

         * @param off
         *            offset into buffer
         * @param len
         *            read up to <code>len</code> bytes
         * @return number of bytes read
         * @throws SmbException if an I/O error occurs during read
         */
        int read(byte[] b, int off, int len) throws SmbException;
    
        /**
         * Current position in file
         *
         * @return current position
         */
        long getFilePointer();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                buffer[bufferIndex + 2] = expectedOplockLevel;
    
                // Write reserved field (4 bytes at offset 4)
                bufferIndex += 4;
    
                // Write Reserved2 (4 bytes)
                bufferIndex += 4;
    
                // Write file ID (16 bytes)
                byte[] expectedFileId = createTestData(16);
                System.arraycopy(expectedFileId, 0, buffer, bufferIndex, 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. docs/sts/web-identity.md

    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ### Errors
    
    XML error response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_Errors)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("readn should handle multiple read calls")
        void testReadnMultipleCalls() throws IOException {
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(2) // First read returns 2 bytes
                    .thenReturn(2) // Second read returns 2 bytes
                    .thenReturn(1); // Third read returns 1 byte
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. .github/workflows/depsreview.yaml

    name: 'Dependency Review'
    on: [pull_request]
    
    permissions:
      contents: read
    
    jobs:
      dependency-review:
        runs-on: ubuntu-latest
        steps:
          - name: 'Checkout Repository'
            uses: actions/checkout@v4
          - name: 'Dependency Review'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Mar 28 23:44:49 UTC 2024
    - 296 bytes
    - Viewed (0)
  6. cmd/erasure-encode_test.go

    }
    
    func TestErasureEncode(t *testing.T) {
    	for i, test := range erasureEncodeTests {
    		setup, err := newErasureTestSetup(t, test.dataBlocks, test.onDisks-test.dataBlocks, test.blocksize)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create test setup: %v", i, err)
    		}
    		disks := setup.disks
    		erasure, err := NewErasure(t.Context(), test.dataBlocks, test.onDisks-test.dataBlocks, test.blocksize)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/alerts.md

    Follow below steps to enable and use AlertManager.
    
    ## Deploy and start AlertManager
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 23 15:13:23 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. .teamcity/pom.xml

                            </goals>
                        </execution>
                        <execution>
                            <id>test-compile</id>
                            <phase>process-test-sources</phase>
                            <goals>
                                <goal>test-compile</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Aug 14 07:58:26 UTC 2025
    - 7.4K bytes
    - Viewed (1)
  9. cmd/handler-utils_test.go

    	}
    	for i, test := range testCases {
    		gotResource, err := getResource(test.p, test.host, test.domains)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if gotResource != test.expectedResource {
    			t.Fatalf("test %d: expected %s got %s", i+1, test.expectedResource, gotResource)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. .github/workflows/issues.yaml

    # @format
    
    name: Issue Workflow
    
    on:
      issues:
        types:
          - opened
    
    jobs:
      add-to-project:
        name: Add issue to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v0.5.0
            with:
              project-url: https://github.com/orgs/miniohq/projects/2
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 11 07:02:00 UTC 2024
    - 338 bytes
    - Viewed (0)
Back to top