Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,636 for convex (0.08 seconds)

  1. 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)
  2. utils/tests/utils.go

    			}
    		}
    
    		if reflect.ValueOf(got).Type().ConvertibleTo(reflect.ValueOf(expect).Type()) {
    			got = reflect.ValueOf(got).Convert(reflect.ValueOf(expect).Type()).Interface()
    			isEqual()
    		} else if reflect.ValueOf(expect).Type().ConvertibleTo(reflect.ValueOf(got).Type()) {
    			expect = reflect.ValueOf(got).Convert(reflect.ValueOf(got).Type()).Interface()
    			isEqual()
    		} else {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/SecureCredentialStorage.java

        public byte[] encryptCredentials(char[] plaintext) throws GeneralSecurityException {
            checkNotDestroyed();
    
            if (plaintext == null) {
                return null;
            }
    
            // Convert char[] to byte[] for encryption
            byte[] plaintextBytes = charsToBytes(plaintext);
    
            try {
                // Generate random IV
                byte[] iv = new byte[GCM_IV_SIZE];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingHelper.java

                throws PluginResolutionException, PluginVersionResolutionException, PluginManagerException;
    
        /**
         * Updates the context class loader such that the container will search the project realm when the model builder
         * injects the lifecycle bindings from the packaging in the next step. The context class loader is to be reset by
         * the project builder when the project is fully assembled.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertSame(session, result);
            verify(transport).getSmbSession(eq(ctx));
        }
    
        // Edge inputs: null context returns null session per mock setup
        @Test
        @DisplayName("getSmbSession(ctx) with null context returns null as stubbed")
        void getSmbSession_byContext_null() {
            when(transport.getSmbSession(isNull(jcifs.CIFSContext.class))).thenReturn(null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testConstructorWithContextAndName() throws Exception {
                // Test constructor that takes a context SmbFile and a name
                SmbFile context = new SmbFile("smb1://server/share/");
                String name = "file.txt";
                SmbFile smbFile = new SmbFile(context, name);
                assertEquals("smb1://server/share/file.txt", smbFile.getCanonicalPath());
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
          val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
          val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null
          readFieldOrNull(context, X509TrustManager::class.java, "trustManager")
        } catch (e: ClassNotFoundException) {
          null
        } catch (e: RuntimeException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(8)).isEqualTo("%08")
        assertThat(formEncode(9)).isEqualTo("%09")
        // Browsers convert '\n' to '\r\n'
        assertThat(formEncode(10)).isEqualTo("%0A")
        assertThat(formEncode(11)).isEqualTo("%0B")
        assertThat(formEncode(12)).isEqualTo("%0C")
        // Browsers convert '\r' to '\r\n'
        assertThat(formEncode(13)).isEqualTo("%0D")
        assertThat(formEncode(14)).isEqualTo("%0E")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top