Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 1,241 for Contexto (0.06 seconds)

  1. internal/store/batch.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package store
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    const defaultCommitTimeout = 30 * time.Second
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Prepare test data - 24 bytes for resume key + 4 bytes for context length
            byte[] buffer = new byte[28];
    
            // Fill resume key with test pattern
            for (int i = 0; i < 24; i++) {
                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
            buffer[25] = 0x00;
            buffer[26] = 0x00;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

                fail("Expected exception for invalid Word document");
            } catch (final ExtractException e) {
                // ExtractException with improved message
                assertTrue("Error message should contain context about Word document or extraction",
                        e.getMessage().contains("Word") || e.getMessage().contains("extract"));
            } catch (final RuntimeException e) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            this(System.getProperty("jaaslounge.sso.jaas.config"));
        }
    
        /**
         * Creates KerberosCredentials using the specified JAAS login context.
         *
         * @param loginContextName the name of the JAAS login context
         * @throws LoginException if authentication fails
         */
        public KerberosCredentials(String loginContextName) throws LoginException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/SmbNegotiationResponse.java

     *
     * @author mbechler
     */
    public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response {
    
        /**
         * Check if the negotiation response is valid
         *
         * @param cifsContext the CIFS context
         * @param request the negotiation request
         * @return whether the protocol negotiation was successful
         */
        boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request);
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. internal/event/target/nsq.go

    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    	target.producer = producer
    
    	err = target.producer.Ping()
    	if err != nil {
    		// To treat "connection refused" errors as errNotConnected.
    		if !xnet.IsConnRefusedErr(err) && !xnet.IsConnResetErr(err) {
    			target.loggerOnce(context.Background(), err, target.ID().String())
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbResourceTest.java

                when(resource.getContext()).thenReturn(mockContext);
    
                // When
                CIFSContext context = resource.getContext();
    
                // Then
                assertNotNull(context, "Context should not be null");
                assertSame(mockContext, context, "Should return the expected context");
            }
    
            @Test
            @DisplayName("getName should return resource name")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  8. internal/event/config_test.go

       <Event>s3:ObjectRemoved:*</Event>
    </QueueConfiguration>`)
    	queue3 := &Queue{}
    	if err := xml.Unmarshal(data, queue3); err != nil {
    		panic(err)
    	}
    
    	targetList1 := NewTargetList(t.Context())
    
    	targetList2 := NewTargetList(t.Context())
    	if err := targetList2.Add(&ExampleTarget{TargetID{"1", "webhook"}, false, false}); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		queue      *Queue
    		region     string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 28.9K bytes
    - Click Count (0)
  9. cmd/handler-api.go

    			f.ServeHTTP(w, r)
    			return
    		}
    
    		if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    			tc.FuncName = "s3.MaxClients"
    		}
    
    		w.Header().Set("X-RateLimit-Limit", strconv.Itoa(cap(pool)))
    		w.Header().Set("X-RateLimit-Remaining", strconv.Itoa(cap(pool)-len(pool)))
    
    		ctx := r.Context()
    		select {
    		case pool <- struct{}{}:
    			defer func() { <-pool }()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. cmd/signature-v4_test.go

    			t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code))
    		}
    	}
    }
    
    func TestDoesPresignedSignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top