Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 2,283 for else (0.04 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

              // JDK 11 response to the FAIL_HANDSHAKE
              val jvmVersion = System.getProperty("java.specification.version")
              assertThat(jvmVersion).isEqualTo("11")
            }
            else -> throw expected
          }
        }
      }
    
      @Test
      fun tlsHostnameVerificationFailure() {
        assumeNotWindows()
        platform.assumeNotBouncyCastle()
    
        server.enqueue(MockResponse())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		c.Fatalf("LDAP connect failed: %v", err)
    	}
    	defer conn.Close()
    
    	for i, testCase := range cases {
    		if testCase.group != "" {
    			policyReq.Group = testCase.group
    			policyReq.User = ""
    		} else {
    			policyReq.User = testCase.dn
    			policyReq.Group = ""
    		}
    
    		if _, err := s.adm.AttachPolicyLDAP(ctx, policyReq); err != nil {
    			c.Fatalf("Unable to attach  policy: %v", err)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("got: %q; want: %q", err, io.ErrUnexpectedEOF)
    	}
    	for writeErr := range done {
    		if writeErr != ErrWriteOnClosed {
    			t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed)
    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    		time.Sleep(time.Millisecond)
    	}
    	cancel()
    	<-serverCanceled
    	local.debugMsg(debugIsOutgoingClosed, st.muxID, func(closed bool) {
    		if !closed {
    			t.Error("expected outgoing closed")
    		} else {
    			t.Log("outgoing was closed")
    		}
    	})
    
    	// Drain responses and check if error propagated.
    	err = st.Results(func(b []byte) error {
    		return nil
    	})
    	if !errors.Is(err, context.Canceled) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. internal/config/notify/parse.go

    			yes, err := target.IsActive()
    			if err == nil && !yes {
    				err = ErrTargetsOffline
    			}
    			if err != nil {
    				return fmt.Errorf("error (%s): %w", target.ID(), err)
    			}
    		} else {
    			// Just for call init.
    			// Ignore target is online or offline
    			_, _ = target.IsActive()
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  6. doc/go_mem.html

    </p>
    
    <p>
    If the channel were buffered (e.g., <code>c = make(chan int, 1)</code>)
    then the program would not be guaranteed to print
    <code>"hello, world"</code>.  (It might print the empty string,
    crash, or do something else.)
    </p>
    
    <p class="rule">
    The <i>k</i>th receive on a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send from that channel completes.
    </p>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ClassUtil.java

            final String[] ret = new String[2];
            final int i = className.lastIndexOf('.');
            if (i > 0) {
                ret[0] = className.substring(0, i);
                ret[1] = className.substring(i + 1);
            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
         * 配列の場合は要素のクラス名に{@literal []}を加えた文字列、それ以外はクラス名そのものを返します。
         *
         * @param clazz
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. tests/test_include_router_defaults_overrides.py

            content_type_level = "1"
        if override2:
            url += "/level2"
            content_type_level = "2"
        if override3:
            url += "/override3"
            content_type_level = "3"
        else:
            url += "/default3"
        url += "?level3=foo"
        response = client.get(url)
        assert response.json() == "foo"
        assert (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    				}
    			case testWriteTo:
    				f := &testFile{ops: tf.ops}
    				got, err := fr.WriteTo(f)
    				if _, ok := err.(testError); ok {
    					t.Errorf("test %d.%d, WriteTo(): %v", i, j, err)
    				} else if got != tf.wantCnt || err != tf.wantErr {
    					t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr)
    				}
    				if len(f.ops) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.2.md

    you do this, then, at the time you re-vendor the "<code>k8s.io/kubernetes/"</code> code, you will need to set <code>job.Spec.ManualSelector = true</code>, or else set <code>job.Spec.Selector = nil.  </code>Otherwise, the jobs you create may be rejected.  See [Specifying your own pod selector](http://kubernetes.io/docs/user-guide/jobs/#specifying-your-own-pod-selector).
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top