Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 122 for tc (0.01 seconds)

  1. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            public TestDcerpcHandle(CIFSContext tc) {
                super(tc);
                this.localTransportContext = tc;
                this.server = "test_server";
                this.serverWithDfs = "test_server_dfs";
                this.sessionKey = new byte[] { 1, 2, 3, 4 };
            }
    
            public TestDcerpcHandle(CIFSContext tc, DcerpcBinding binding) {
                super(tc, binding);
                this.localTransportContext = tc;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/Request.java

        /**
         * Initializes and returns a response object for this request.
         *
         * @param tc the CIFS context
         * @return the initialized response
         */
        T initResponse(CIFSContext tc);
    
        /**
         *
         * @return the response message
         */
        @Override
        T getResponse();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. internal/s3select/sql/stringfuncs_contrib_test.go

    		{"abcd", 999, 999, "", nil},
    		{"", 999, 999, "", nil},
    		{"测试abc", 1, 1, "测", nil},
    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    		res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length)
    		if res != tc.resExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether a connection can be reused for the given configuration.
         *
         * @param tc the CIFS context to check compatibility with
         * @param forceSigning whether signing is being forced
         * @return whether a connection can be reused for this config
         */
        boolean canReuse(CIFSContext tc, boolean forceSigning);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/UniAddress.java

         *
         * @param tc
         *            context to use
         *
         * @return guessed alternate name
         */
        @Override
        public String nextCalledName(final CIFSContext tc) {
            if (this.addr instanceof NbtAddress) {
                return ((NbtAddress) this.addr).nextCalledName(tc);
            }
            if (this.calledName != NbtAddress.SMBSERVER_NAME) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

         *
         * @param tc the CIFS context to use for configuration
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the calculated response
         * @throws GeneralSecurityException if a cryptographic error occurs
         */
        static public byte[] getPreNTLMResponse(final CIFSContext tc, final String password, final byte[] challenge)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/Handler.java

                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.
         *
         * @return An <code>int</code> containing the default HTTP port.
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. cmd/bucket-encryption_test.go

    		},
    	}
    
    	for i, tc := range testCases {
    		_, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML)))
    		if tc.shouldPass && err != nil {
    			t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err)
    		}
    
    		if !tc.shouldPass {
    			if err == nil || err != nil && err.Error() != tc.expectedErr.Error() {
    				t.Fatalf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err)
    			}
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 14 07:59:05 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/noncurrentversion_test.go

    				NoncurrentDays:          0,
    				NewerNoncurrentVersions: 5,
    				set:                     true,
    			},
    			err: nil,
    		},
    	}
    
    	for i, tc := range testcases {
    		if got := tc.n.Validate(); got != tc.err {
    			t.Fatalf("%d: expected %v but got %v", i+1, tc.err, got)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  10. cmd/site-replication_test.go

    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Click Count (0)
Back to Top