Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,693 for threw (0.04 sec)

  1. istioctl/pkg/util/testutil/util.go

    import (
    	"bytes"
    	"regexp"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CartesianList.java

        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 16 ) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionServicePacket.java

            int n;
            if ( ( n = readn(in, buffer, bufferIndex, HEADER_LENGTH) ) != HEADER_LENGTH ) {
                if ( n == -1 ) {
                    return -1;
                }
                throw new IOException("unexpected EOF reading netbios session header");
            }
            int t = buffer[ bufferIndex ] & 0xFF;
            return t;
        }
    
        int type, length;
    
    
        /**
         * @param dst
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      }
    
      private var started: Boolean = false
    
      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "port"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
            } else {
              throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
            }
          }
        }
    
        public static MaxCodePoint valueOf(String userFriendly) {
          return new MaxCodePoint(userFriendly);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
            } else {
              throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
            }
          }
        }
    
        public static MaxCodePoint valueOf(String userFriendly) {
          return new MaxCodePoint(userFriendly);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                return new DefaultSettingsBuildingResult(
                        new Settings(result.getEffectiveSettings()), convert(result.getProblems()));
            } catch (SettingsBuilderException e) {
                throw new SettingsBuildingException(convert(e.getProblems()));
            }
        }
    
        private org.apache.maven.api.services.Source toSource(File file, Source source) {
            if (file != null && file.exists()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // 	(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)
    //
    // <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber>
    // ```
    //
    // No matter which of the three exponent forms is used, no quantity may represent
    // a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal
    // places. Numbers larger or more precise will be capped or rounded up.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top