Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getOut (0.21 sec)

  1. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getInt(Field, Object)
         */
        public static int getInt(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getInt(field, null);
        }
    
        /**
         * {@link Field}の値をintとして取得します。
         *
         * @param field
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, new Integer(testData));
            assertThat(FieldUtil.getInt(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntFieldObject() throws Exception {
            final Field field = getClass().getField("INT_DATA");
            assertThat(FieldUtil.getInt(field), is(INT_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            @SuppressWarnings("unchecked")
            ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map);
            assertThat(copy.getAt(0), is(nullValue()));
            assertThat(copy.getAt(1), is("test"));
            assertThat(copy.getAt(2), is("test2"));
            assertThat(map.equals(copy), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    		CNINetworkConfig:     viper.GetString(constants.CNINetworkConfig),
    
    		LogLevel:           viper.GetString(constants.LogLevel),
    		KubeconfigFilename: viper.GetString(constants.KubeconfigFilename),
    		KubeconfigMode:     viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:         viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:      viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-list_test.go

    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    	}), args)
    	var out bytes.Buffer
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	err := rootCmd.Execute()
    	if err != nil {
    		t.Fatalf("failed to execute istioctl profile command: %v", err)
    	}
    	output := out.String()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 03 06:27:07 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

        executor = newVirtualThreadPerTaskExecutor()
    
        // Capture non-deterministic but probable sysout warnings of pinned threads
        // https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
        System.setOut(PrintStream(capturedOut))
      }
    
      @AfterEach
      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint_test.go

    			}
    			expectedOut := string(defaultFile)
    			if len(expectedOut) == 0 {
    				t.Fatal("expected output is empty")
    			}
    
    			var out bytes.Buffer
    			rootCmd := Cmd(ctx)
    			rootCmd.SetArgs(tt.args)
    			rootCmd.SetOut(&out)
    			rootCmd.SetErr(&out)
    
    			fErr := rootCmd.Execute()
    			if fErr != nil {
    				t.Fatal(fErr)
    			}
    			output := out.String()
    			if output != expectedOut {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayMap.java

            }
            return null;
        }
    
        /**
         * インデックスで指定された位置の値を返します。
         *
         * @param index
         *            インデックス
         * @return インデックスで指定された位置の値
         */
        public V getAt(final int index) {
            return getEntryAt(index).getValue();
        }
    
        /**
         * インデックスで指定された位置のキーを返します。
         *
         * @param index
         *            インデックス
         * @return インデックスで指定された位置のキー
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
Back to top