Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,713 for Context (0.03 sec)

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

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN");
            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt

    import org.junit.jupiter.params.provider.Arguments
    import org.junit.jupiter.params.provider.ArgumentsProvider
    
    abstract class SimpleProvider : ArgumentsProvider {
      override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream()
    
      @Throws(Exception::class)
      abstract fun arguments(): List<Any>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Address.java

         */
        String firstCalledName();
    
        /**
         * Guess next called name to try for session establishment. These
         * methods are used by the smb package.
         *
         * @param tc the transport context to use for name resolution
         *
         * @return guessed name
         */
        String nextCalledName(CIFSContext tc);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. cmd/object-api-options_test.go

    // it is intended to be expanded when the function is worked on in the future.
    func TestGetAndValidateAttributesOpts(t *testing.T) {
    	globalBucketVersioningSys = &BucketVersioningSys{}
    	bucket := minioMetaBucket
    	ctx := t.Context()
    	testCases := []struct {
    		name            string
    		headers         http.Header
    		wantObjectAttrs map[string]struct{}
    	}{
    		{
    			name:            "empty header",
    			headers:         http.Header{},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should get error data")
            void testErrorData() {
                assertNull(testMessage.getErrorData());
            }
    
            @Test
            @DisplayName("Should get error context count")
            void testErrorContextCount() {
                assertEquals(0, testMessage.getErrorContextCount());
            }
    
            @Test
            @DisplayName("Should detect error response status")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/Handler.java

                }
                PROTOCOL_HANDLERS.clear();
                Handler.factory = factory;
            }
        }
    
        /**
         * Constructs a handler with the specified CIFS context.
         *
         * @param tc context to use
         */
        public Handler(final CIFSContext tc) {
            this.transportContext = tc;
        }
    
        /**
         * Returns the default HTTP port.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. schema/schema_helper_test.go

    package schema_test
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func checkSchema(t *testing.T, s *schema.Schema, v *schema.Schema, primaryFields []string) {
    	t.Run("CheckSchema/"+s.Name, func(t *testing.T) {
    		tests.AssertObjEqual(t, s, v, "Name", "Table")
    
    		for idx, field := range primaryFields {
    			var found bool
    			for _, f := range s.PrimaryFields {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SidResolverTest.java

            verify(sidResolver, times(1)).resolveSids(mockContext, testServerName, testSids);
        }
    
        @Test
        void testResolveSids_WithNullContext() throws CIFSException {
            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. tests/migrate_test.go

    	sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))"
    	if err := DB.Exec(sql).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	session := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    		Test: func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    			sql, _ := fc()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  10. .github/workflows/label-approved.yml

    permissions:
      pull-requests: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      label-approved:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v5
        - name: Set up Python
          uses: actions/setup-python@v5
          with:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top